8000
Skip to content

docs: add ADBC integration guide - #2497

Draft
esadek wants to merge 1 commit into
lakehq:mainfrom
esadek:adbc
Draft

docs: add ADBC integration guide#2497
esadek wants to merge 1 commit into
lakehq:mainfrom
esadek:adbc

Conversation

@esadek
@esadek esadek commented Aug 24, 2026
Copy link
Copy Markdown

Add an integration guide for connecting to Sail via ADBC.

@linhr
linhr requested a lite review from Copilot August 25, 2026 01:34
@github-actions
Copy link
Copy Markdown

Gold Data Report

Notes
  1. The tables below show the number of true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN) in gold data input processing.
  2. A positive input is a valid test case, while a negative input is a test case that is expected to fail.

Commit Information

Commit Revision Branch
After 36c40cb refs/pull/2497/merge
Before 9544c92 main

Summary

Commit TP TN FP FN Total
After 2223 217 50 312 2802
Before 2223 217 50 312 2802

Details

Gold Data Metrics 8000
Group File Commit TP TN FP FN Total
spark data_type.json After 50 11 2 3 66
Before 50 11 2 3 66
expression/case.json After 5 0 0 0 5
Before 5 0 0 0 5
expression/cast.json After 4 0 0 0 4
Before 4 0 0 0 4
expression/current.json After 3 0 0 0 3
Before 3 0 0 0 3
expression/date.json After 4 0 1 0 5
Before 4 0 1 0 5
expression/interval.json After 346 4 1 0 351
Before 346 4 1 0 351
expression/large.json After 2 0 0 0 2
Before 2 0 0 0 2
expression/like.json After 29 10 0 0 39
Before 29 10 0 0 39
expression/misc.json After 111 5 1 1 118
Before 111 5 1 1 118
expression/numeric.json After 31 6 1 0 38
Before 31 6 1 0 38
expression/string.json After 18 1 0 0 19
Before 18 1 0 0 19
expression/timestamp.json After 7 0 3 0 10
Before 7 0 3 0 10
expression/window.json After 73 0 1 0 74
Before 73 0 1 0 74
function/agg.json After 167 0 0 31 198
Before 167 0 0 31 198
function/array.json After 44 0 0 0 44
Before 44 0 0 0 44
function/avro.json After 0 0 0 4 4
Before 0 0 0 4 4
function/bitwise.json After 15 0 0 0 15
Before 15 0 0 0 15
function/collection.json After 12 0 0 1 13
Before 12 0 0 1 13
function/conditional.json After 15 0 0 0 15
Before 15 0 0 0 15
function/conversion.json After 2 0 0 0 2
Before 2 0 0 0 2
function/csv.json After 5 0 0 0 5
Before 5 0 0 0 5
function/datetime.json After 167 0 0 40 207
Before 167 0 0 40 207
function/generator.json After 13 0 0 0 13
Before 13 0 0 0 13
function/hash.json After 6 0 0 1 7
Before 6 0 0 1 7
function/json.json After 23 0 0 0 23
Before 23 0 0 0 23
function/lambda.json After 21 0 0 10 31
Before 21 0 0 10 31
function/map.json After 11 0 0 0 11
Before 11 0 0 0 11
function/math.json After 124 0 0 0 124
Before124 0 0 0 124
function/misc.json After 33 0 0 13 46
Before 33 0 0 13 46
function/predicate.json After 72 0 0 7 79
Before 72 0 0 7 79
function/protobuf.json After 0 0 0 2 2
Before 0 0 0 2 2
function/sketch.json After 6 0 0 35 41
Before 6 0 0 35 41
function/st.json After 2 0 0 8 10
Before 2 0 0 8 10
function/string.json After 193 0 0 12 205
Before 193 0 0 12 205
function/struct.json After 2 0 0 0 2
Before 2 0 0 0 2
function/url.json After 10 0 0 0 10
Before 10 0 0 0 10
function/variant.json After 28 0 0 2 30
Before 28 0 0 2 30
function/vector.json After 1 0 0 10 11
Before 1 0 0 10 11
function/window.json After 6 0 0 3 9
Before 6 0 0 3 9
function/xml.json After 15 0 0 2 17
Before 15 0 0 2 17
plan/ddl_alter_table.json After 49 14 3 11 77
Before 49 14 3 11 77
plan/ddl_alter_view.json After 5 1 0 0 6
Before 5 1 0 0 6
plan/ddl_analyze_table.json After 17 6 0 0 23
Before 17 6 0 0 23
plan/ddl_cache.json After 4 0 1 0 5
Before 4 0 1 0 5
plan/ddl_create_index.json After 0 0 0 3 3
Before 0 0 0 3 3
plan/ddl_create_table.json After 60 27 11 7 105
Before 60 27 11 7 105
plan/ddl_delete_from.json After 2 1 0 0 3
Before 2 1 0 0 3
plan/ddl_describe.json After 4 0 0 0 4
Before 4 0 0 0 4
plan/ddl_drop_index.json After 0 0 0 2 2
Before 0 0 0 2 2
plan/ddl_drop_view.json After 5 0 0 0 5
Before 5 0 0 0 5
plan/ddl_insert_into.json After 17 3 1 11 32
Before 17 3 1 11 32
plan/ddl_insert_overwrite.json After 9 0 2 0 11
Before 9 0 2 0 11
plan/ddl_load_data.json After 4 0 0 0 4
Before 4 0 0 0 4
plan/ddl_merge_into.json After 8 5 3 0 16
Before 8 5 3 0 16
plan/ddl_misc.json After 10 0 0 10 20
Before 10 0 0 10 20
plan/ddl_replace_table.json After 56 13 8 7 84
Before 56 13 8 7 84
plan/ddl_select.json After 1 0 0 0 1
Before 1 0 0 0 1
plan/ddl_show_views.json After 7 0 0 0 7
Before 7 0 0 0 7
plan/ddl_uncache.json After 2 0 0 0 2
Before 2 0 0 0 2
plan/ddl_update.json After 2 1 0 0 3
Before 2 1 0 0 3
plan/error_alter_table.json After 0 2 0 0 2
Before 0 2 0 0 2
plan/error_analyze_table.json After 0 1 0 0 1
Before 0 1 0 0 1
plan/error_create_table.json After 0 6 0 0 6
Before 0 6 0 0 6
plan/error_describe.json After 0 1 0 0 1
Before 0 1 0 0 1
plan/error_join.json After 0 2 0 0 2
Before 0 2 0 0 2
plan/error_load_data.json After 0 1 0 0 1
Before 0 1 0 0 1
plan/error_misc.json After 0 14 0 0 14
Before 0 14 0 0 14
plan/error_order_by.json After 1 4 0 0 5
Before 1 4 0 0 5
plan/error_select.json After 0 15 0 0 15
Before 0 15 0 0 15
plan/error_with.json After 0 1 0 0 1
Before 0 1 0 0 1
plan/plan_alter_view.json After 0 2 0 0 2
Before 0 2 0 0 2
plan/plan_create_view.json After 0 2 0 0 2
Before 0 2 0 0 2
plan/plan_explain.json After 0 1 1 0 2
Before 0 1 1 0 2
plan/plan_group_by.json After 9 1 0 1 11
Before 9 1 0 1 11
plan/plan_hint.json After 25 0 3 0 28
Before 25 0 3 0 28
plan/plan_insert_into.json After 3 0 0 0 3
Before 3 0 0 0 3
plan/plan_insert_overwrite.json After 2 0 0 0 2
Before 2 0 0 0 2
plan/plan_join.json After 59 9 1 4 73
Before 59 9 1 4 73
plan/plan_misc.json After 15 4 0 10 29
Before 15 4 0 10 29
plan/plan_order_by.json After 15 5 1 10 31
Before 15 5 1 10 31
plan/plan_select.json After 107 26 3 51 187
Before 107 26 3 51 187
plan/plan_set_operation.json After 17 0 0 0 17
Before 17 0 0 0 17
plan/plan_with.json After 6 0 2 0 8
Before 6 0 2 0 8
plan/unpivot_join.json After 4 0 0 0 4
Before 4 0 0 0 4
plan/unpivot_select.json After 14 6 0 0 20
Before 14 6 0 0 20
table_schema.json After 8 6 0 0 14
Before 8 6 0 0 14

Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new documentation guide describing how to connect to Sail via ADBC (using the ADBC Flight SQL driver against Sail’s Arrow Flight SQL server), with installation instructions and multi-language connection examples.

Changes:

  • Introduces a new ADBC integration guide page under the Integrations section.
  • Provides driver installation guidance via dbc plus language-specific client binding install snippets.
  • Includes end-to-end example code for connecting and running a simple query in multiple languages.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +78 to +79
// Add these dependencies to your build.gradle.kts
dependencies {
Comment on lines +201 to +204
// BatchPrinter is a small helper that formats a record batch for display.
// See the linked quickstart repository for its source.
BatchPrinter.Print(batch);
}
Comment on lines +44 to +45
<!-- Add these dependencies to your pom.xml -->
<dependencies>
Comment on lines +175 to +178
```csharp [C#]
using Apache.Arrow.Adbc;
using Apache.Arrow.Adbc.DriverManager;
using Apache.Arrow.Ipc;
@linhr
linhr marked this pull request as draft August 25, 2026 01:43
@linhr
linhr commented Aug 25, 2026
Copy link
Copy Markdown
Contributor

Thanks for the contribution. How were these examples tested?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0