Gluesync Module · Federated SQL queries

Query Forge

A secure federated SQL gateway on Core Hub. Run cross-database JOINs across isolated agents with zero raw data movement.

Query Forge connecting PostgreSQL, MySQL, IBM Db2, and SQL Server

Why Query Forge

Cross-database answers without warehouse tax

01 / Costly pipelines

ETL just to ask a question

Teams stand up warehouses and extraction jobs so BI and DBAs can join data that already lives behind Gluesync agents.

02 / Manual stitching

Isolated client queries

Without federation, analysts run separate queries in different tools and reconcile results in spreadsheets — slow and error-prone.

03 / The platform outcome

Zero-copy federation

Query Forge turns Core Hub into a JDBC gateway so one SQL statement can join remote schemas without copying raw datasets.

Capabilities

Federated SQL on the infrastructure you already run

Built on Query Studio infrastructure, Query Forge exposes each SQL-capable agent as a schema and plans joins centrally with intelligent pushdown.

Federated architecture

How Query Forge works

Plan centrally, push filters down, join in memory

Instead of new data movement pipelines, Core Hub receives the SQL statement, pushes projections and filters to remote agents, then evaluates joins with Apache Calcite.

  • Central query planning across relevant agents
  • Pushdown for projections and filters (=, <>, <, >, LIKE, IS NULL, AND/OR/NOT)
  • Only filtered rows travel the wire for central join evaluation
  • Bridges relational engines and NoSQL stores behind agents
  • Lake datasets on S3, S3-compatible storage, WebDAV and NFS join live databases in the same query as "<agent>"."default"."<entity>"
  • Exact aggregates, and the scale an explicit DECIMAL cast asks for

View Query Forge docs ↗

Federated SQL · filters run at each source
SELECT c.name, SUM(o.amount)FROM pg.sales.orders oJOIN ora.crm.customers c ON c.id = o.customer_idWHERE o.status = 'paid' AND c.region = 'EMEA'GROUP BY c.name
  1. PostgreSQLsales.orders

    2.4M rows stay at the source18,240 sent

    Runs on PostgreSQLWHERE status = 'paid'

  2. Oraclecrm.customers

    310K rows stay at the source4,115 sent

    Runs on OracleWHERE region = 'EMEA'

Core HubJoins and sums 22,355 rowsinstead of 2.71M · nothing copied, no pipeline
  • Holloway Ltd€1.42M
  • Webb & Co€890K
  • Brandt AG€234K

Multi-source querying without data movement

Query across relational, legacy, NoSQL and data-lake environments from a single development tool or BI connection. Gluesync resolves schemas and returns results transparently.

Standard connectivity

Dedicated JDBC driver

Connect DBeaver, DataGrip, Tableau, and custom scripts

A branded JDBC endpoint (jdbc:gluesync://host:port) makes Core Hub feel like a single SQL system to external clients.

  • Personal API Token authentication (gsp_…), for local and SSO accounts alike
  • No shared service credentials
  • Predictable schema naming for single- and multi-agent pipelines
  • Works with standard BI and SQL tooling
  • A running lake query can be cancelled by its id, and only that query stops

View Query Forge docs ↗

jdbc:gluesync://corehub:8765

SQL clients

  • DBeaverSQL IDE
  • DataGripSQL IDE
  • TableauBI

JDBC gateway

One connection string. The caller's token. Read-only pushdown to each agent.

Agents

  • PostgreSQLanalytics
  • OracleERP
  • Db2IBM i

Unified JDBC gateway

One connection string. Many agents. Warehouse-style querying flexibility without storage overhead or continuous extraction latency.

Enterprise safety

Read-only security model

Per-user scope with zero write risk to production

Every federated query runs under the caller’s identity through the read-only execution path, with permissions scoped to pipelines and agents.

  • Strict read-only execution path
  • Users only discover schemas and tables they are allowed to see
  • Fine-grained permission scoping at pipeline and agent level
  • Zero-copy operations — no warehouse mirror required

View Security docs ↗

Query Forge
Settings · Query data access

Query data access

Connection mode

Schema and table rules

public *
erp customers

PII unmask grants

Viewers can never unmask, even with a grant.

JDBC driver · Query Forge

Query Forge from any JDBC client

The Gluesync JDBC driver lets DBeaver, DataGrip, Tableau, BI dashboards and your own scripts query Query Forge, the federated SQL endpoint of Core Hub. Each SQL-capable agent you can access shows up as a schema, and each table behind it as a table.

  • One connection URL: jdbc:gluesync://<host>:<port>, port 8765 by default
  • Authenticate with your own Personal API Token (gsp_…) as the password, or as a token property
  • Set queryTimeout and maxScanRows per connection, as driver properties or URL options
  • The driver has its own version, separate from Core Hub, listed in the JDBC driver changelog
Connect with DBeaver or DataGrip
URL       jdbc:gluesync://corehub.example.com:8765
Username  your Core Hub username
Password  gsp_...   (Personal API Token)

-- Optional connection options
jdbc:gluesync://corehub.example.com:8765;maxScanRows=5000000;queryTimeout=600

Supported platforms

PlatformRequirements
Any JDBC clientA single JAR. Add it to your SQL client's driver classpath.

Get the driver

  1. Licensed users: validate your Gluesync licence file under Installation kits and tools, then download the driver from Query Forge drivers.
  2. From your Core Hub: open the Query Forge tab of the Gluesync Control Plane and download the driver there.

No licence yet? Start a free trial.

ODBC driver · Query Forge

Native ODBC for Excel, Power BI, Tableau and Qlik

The Gluesync ODBC driver lets any ODBC client query Query Forge directly. Excel, Power BI, Tableau, Qlik, pyodbc, R and isql connect with nothing else installed: no JVM and no JDBC-ODBC bridge.

  • Connect with a connection string or a DSN, using the same Personal API Token as the JDBC driver
  • Install scripts register the driver as Gluesync ODBC Driver and can create a DSN in the same step
  • On Windows, the driver's own dialog sets up the DSN in ODBC Data Sources (64-bit)
  • You query as yourself: the connection shows only the agents your token can reach
Connection string and pyodbc
Driver={Gluesync ODBC Driver};Server=corehub.example.com;Port=8765;UID=__token__;PWD=gsp_...

# pyodbc
import os, pyodbc
conn = pyodbc.connect(
    "Driver={Gluesync ODBC Driver};Server=corehub.example.com;Port=8765;"
    f"UID=__token__;PWD={os.environ['GLUESYNC_PAT']}"
)
for row in conn.execute("SELECT * FROM crm.customers"):
    print(row)

Supported platforms

PlatformRequirements
Windows x86_6464-bit only, with the Windows ODBC Driver Manager.
Linux x86_64 and aarch64With unixODBC.
macOSWith unixODBC from Homebrew. No prebuilt archive yet: build the driver from source.
iODBCNot supported in the first version.

Get the driver

  1. Licensed users: validate your Gluesync licence file under Installation kits and tools, then download the driver from Query Forge drivers.
  2. From your Core Hub: open the Query Forge tab of the Gluesync Control Plane and download the driver there.

No licence yet? Start a free trial.

SQL-callable AI · Available in Gluesync 2.3

An AI conversation, returned like any other query.

Query gluesync.ai from your JDBC client. The Hub uses your configured model and governed MCP tools, then returns one structured row you can inspect, store, or continue with a conversation ID.

Available in Gluesync 2.3 · Read-only tool path

Query Forge · SQL editor Connected
SELECT answer, proposed_sql,
       citations, conversation_id
FROM gluesync.ai
WHERE question = 'who made you';
answerproposed_sqlcitationsconversation_id
MOLO17 built me into Gluesync AI Hub.SELECT …[2]conv_8f12…

proposed_sql is returned for review. It is never executed automatically.

One JDBC surface

gluesync.ai appears through Query Forge alongside the schemas you already query, using the same authenticated session.

A result made for code

Receive answer, proposed_sql, citations, and conversation_id as columns—not an opaque chat response.

Your model, caller identity

The request uses the Core Hub LLM provider vault. MCP discovery and invocation remain bound to the JDBC caller’s RBAC.

Suggestions stay suggestions

The answer may include SQL for a next step, but Gluesync never runs proposed_sql automatically. You decide what executes.

Resources

Guides, roadmap and support

Roadmap

Public Roadmap

What we're building next. Submit feature requests.

View roadmap ↗
Support

Support

Access technical support and operational assistance.

Get support →
Status

Service Status

Real-time platform availability and incident history.

Check status ↗

Federated SQL without the warehouse tax

Request a free trial or talk with the MOLO17 team about deploying Query Forge on your Core Hub.