查找

公告
· 4 hr 前

Time to vote in InterSystems "Bringing Ideas to Reality" Contest 2025

Hi Community,

It's voting time! Cast your votes for the best applications in our InterSystems "Bringing Ideas to Reality" Contest:

🔥 VOTE FOR THE BEST APPS 🔥

How to vote? Details below.

Experts nomination:

An experienced jury from InterSystems will choose the best apps to nominate for the prizes in the Experts Nomination.

Community nomination:

All active members of the Developer Community with a “trusted” status in their profile are eligible to vote in the Community nomination. To check your status, please click on your profile picture at the top right, and you will see it under your picture. To become a trusted member, you need to participate in the Community at least once.

Blind vote!

The number of votes for each app will be hidden from everyone. We will publish the leaderboard in the comments section of this post daily. Experts may vote any time so it is possible that the places change dramatically at the last moment. The same applies to bonus points.

The order of projects on the contest page will be determined by the order in which applications were submitted to the competition, with the earliest submissions appearing higher on the list.

P.S. Don't forget to subscribe to this post (click on the bell icon) to be notified of new comments.

To take part in the voting, you need:

  1. Sign in to Open Exchange – DC credentials will work.
  2. Make any valid contribution to the Developer Community – answer or ask questions, write an article, contribute applications on Open Exchange – and you'll be able to vote. Check this post on the options to make helpful contributions to the Developer Community.

If you change your mind, cancel the choice and give your vote to another application!

Support the application you like!


Note: Contest participants are allowed to fix bugs and make improvements to their applications during the voting week, so be sure to subscribe to application releases!

讨论 (0)1
登录或注册以继续
文章
· 5 hr 前 阅读大约需 4 分钟

Intersystems IRIS provider for Apache Airflow


Apache Airflow is the leading open-source platform to programmatically author, schedule, and monitor data pipelines and workflows using Python. Workflows are defined as code (DAGs), making them version-controlled, testable, and reusable. With a rich UI, 100+ built-in operators, dynamic task generation, and native support for cloud providers, Airflow powers ETL/ELT, ML pipelines, and batch jobs at companies like Airbnb, Netflix, and Spotify.

Airflow Application Layout
Dag Details Page in light mode showing overview dashboard and failure diagnostics

 

Airflow-Provider-IRIS Package

Airflow-Provider-IRIS  enables seamless integration between Airflow workflows and the InterSystems IRIS data platform. It provides native connection support and operators for executing IRIS SQL and automating IRIS-driven tasks within modern ETL/ELT pipelines. Designed for reliability and ease of use, this provider helps data engineers and developers build scalable, production-ready workflows.

🚀 Features

  • ✔️ IrisHook – for managing IRIS connections
  • ✔️ IrisSQLOperator – for running SQL queries
  • ✔️ Support for both SELECT/CTE and DML statements
  • ✔️ Native Airflow connection UI customization
  • ✔️ Examples for real-world ETL patterns

📦Installation

The airflow-provider-iris package can be installed separately in any Airflow environment using the following command:

pip install airflow-provider-iris

For detailed documentation, usage examples, and a complete list of operators/hooks, see the published provider package: 
PyPI Package

 

iris-airflow-provider Application

iris-airflow-provider  is an Open Exchange application that demonstrates the capabilities and usage of the airflow-provider-iris Python package through ready-to-run examples and sample DAGs. 

Navigate to http://localhost:8080/ to access the application [Credentials: airflow/airflow]

Add IRIS connection

Go to Admin → Connections and click on the Add Connection button

Fill in the fields and click the Save button at the bottom of the form to create the connection.

Use your InterSystems IRIS connection by setting the iris_conn_id parameter in any of the provided operators.

In the Airflow DAG example below, the IrisSQLOperator uses the iris_conn_id parameter to connect to the IRIS instance :

# New_Test_DAG.py
from datetime import datetime
from airflow import DAG
from airflow_provider_iris.operators.iris_operator import IrisSQLOperator

# Define the DAG for running a simple SQL command against InterSystems IRIS.
with DAG(
    dag_id="01_IRIS_Raw_SQL_Demo_Local",
    start_date=datetime(2025, 12, 1),
    schedule=None,               # Run manually; no automatic scheduling
    catchup=False,               # Do not backfill previous dates
    tags=["iris-contest"],       # Tag to group the DAG in Airflow UI
) as dag:

    # Create a demo table if it does not already exist.
    # This operator connects to the specified IRIS instance and executes the SQL.
    create_table = IrisSQLOperator(
        task_id="create_table",
        iris_conn_id="ContainerInstance",   # Airflow connection configured for IRIS
        sql="""
            CREATE TABLE IF NOT EXISTS Test.AirflowDemo (
                ID INTEGER IDENTITY PRIMARY KEY,
                Message VARCHAR(200),
                RunDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP
            )
        """,
    )

A DAG (Directed Acyclic Graph) is a Python script that defines an Airflow workflow as a collection of tasks, their dependencies, and execution schedule. Airflow automatically discovers and loads any Python file placed in the designated DAGs folder.

View/Run Sample Dags

The application comes with three pre-loaded DAGs.

  1. Open the Airflow UI and click on the DAGs tab.
  2. Use the toggle button next to each DAG to enable or disable it.

To run a DAG manually, click the Trigger DAG button (▶ arrow) on the right side of the DAG row.
Click the name of DAG (e.g., 01_IRIS_Raw_SQL_Demo) to view its details, graph, and run history.

The 01_IRIS_Raw_SQL_Demo DAG consists of three tasks:

  1. Create Table
  2. Insert Data
  3. Retrieve Data

Select a task and click the task box to open its details. Click on the Details tab to see its details.

Click on the Code tab to see the task’s source code.

Click on the Log tab to see the Log details.


If the DAG runs successfully, verify the results in the InterSystems Management Portal.
Navigate to http://localhost:32783/csp/sys/exp/%25CSP.UI.Portal.SQL.Home.zen?$NAMESPACE=USER [Credentials: _SYSTEM/SYS]


For more details, please visit iris-provider-iris open exchange application page.

Thanks

2 条新评论
讨论 (2)1
登录或注册以继续
摘要
· 6 hr 前

【週間ダイジェスト】 12/01 ~ 12/07 の開発者コミュニティへの投稿

文章
· 7 hr 前 阅读大约需 1 分钟

Odoo implementation

Odoo implementation is a structured process that involves installing, configuring, and deploying the Odoo ERP system to meet a business's specific operational needs. It typically begins with a thorough analysis and discovery phase where consultants map the client's existing business processes, identify pain points, and define the scope and requirements for the new system. Following this, the Odoo platform is configured and customized; this involves setting up base modules (like Sales, Inventory, Accounting, or CRM), migrating essential master data, and developing custom features or reports (often using Python or Odoo Studio) to ensure the system aligns perfectly with unique workflows that Odoo's standard features don't cover.

讨论 (0)1
登录或注册以继续
文章
· 8 hr 前 阅读大约需 2 分钟

マルチプラットフォーム環境でCSPファイルをVSCodeで編集する場合の注意点

CSPでWebアプリケーションを開発する方法は今では推奨されていませんが、既存資産が膨大にあって、他の手法への書き換えには相当の時間がかかりそうな方々はたくさんおられることでしょう。

そういう方々は、しばらくはそれらCSPファイルのメンテナンスの必要性があるかと思います。

IRISではVSCodeが主たるIDEとなっていますが、開発環境がWindowsのみであれば、CSPファイルをSJISでメンテナンスしておけば、問題は起こりません。

ところが、それらのファイルをUNIX環境(LinuxやMac)に持っていって、VSCodeで編集作業を開始すると、文字化けの嵐となってしまいます。

これは以前にポストしましたが、UNIX環境のIRISは何も設定しないとロケールがenuw(英語)となっているためです。

さらにこれを日本語専用ロケールに変えても、unix環境ではロケールがjpuwの場合、ファイルの読み書きのエンコーディングが、utf8となっているので、cspファイルのエンコーディングがSJISのままでは都合が悪いです。

従ってCSPファイルのエンコーディングをUTF8に変更する必要があります。

しかし、プラットフォームの切り替えのたびにエンコーディングを変更するのも面倒です。

そこで推奨の方法は、ファイルのエンコーディングをUTF8のBOM付きに変更することです。

そうすることでプラットフォームがUNIX系、Windows系を気にする必要がなくなります。

VSCodeでファイルのエンコーデングを変更する方法は、ステータスバーに表示されているエンコーディングの所をクリックして、上に表示されるアクションの選択からエンコード付きで保存を選択し、そこでUTF-8 With BOMを選びます。

讨论 (0)1
登录或注册以继续