Skip to content

Commit 75973e0

Browse files
updated report
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent ba36ebe commit 75973e0

File tree

1 file changed

+36
-41
lines changed

1 file changed

+36
-41
lines changed

examples/experimental/python-connector-comparison-report.md

Lines changed: 36 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python Connector Comparison Report
22

3-
**Date:** 2025-07-24 06:52:12
3+
**Date:** 2025-07-29 19:19:02
44
**Server:** benchmarking-staging-aws-us-west-2.staging.cloud.databricks.com
55
**HTTP Path:** /sql/1.0/warehouses/17661fca65a0e4fc
66

@@ -12,9 +12,9 @@
1212

1313
## Performance Summary
1414

15-
- **Total Thrift Execution Time:** 9.5053s
16-
- **Total SEA Execution Time:** 12.2712s
17-
- **SEA Performance:** +29.10% slower than Thrift
15+
- **Total Thrift Execution Time:** 30.1946s
16+
- **Total SEA Execution Time:** 23.1179s
17+
- **SEA Performance:** -23.44% faster than Thrift
1818

1919
## Test Results
2020

@@ -181,8 +181,8 @@ Row Data:
181181
---------------------
182182
Column Metadata:
183183
- Description length mismatch: Thrift has 10 columns, SEA has 7: [('TABLE_CAT', 'string', None, None, None, None, None), ('TABLE_SCHEM', 'string', None, None, None, None, None), ('TABLE_NAME', 'string', None, None, None, None, None), ('TABLE_TYPE', 'string', None, None, None, None, None), ('REMARKS', 'string', None, None, None, None, None), ('TYPE_CAT', 'string', None, None, None, None, None), ('TYPE_SCHEM', 'string', None, None, None, None, None), ('TYPE_NAME', 'string', None, None, None, None, None), ('SELF_REFERENCING_COL_NAME', 'string', None, None, None, None, None), ('REF_GENERATION', 'string', None, None, None, None, None)] vs [('namespace', 'string', None, None, None, None, None), ('tableName', 'string', None, None, None, None, None), ('isTemporary', 'boolean', None, None, None, None, None), ('information', 'string', None, None, None, None, None), ('catalogName', 'string', None, None, None, None, None), ('tableType', 'string', None, None, None, None, None), ('remarks', 'string', None, None, None, None, None)]
184-
- Field 'tableType' missing in all Thrift rows
185184
- Field 'catalogName' missing in all Thrift rows
185+
- Field 'tableType' missing in all Thrift rows
186186
- Field 'TYPE_CAT' missing in all SEA rows
187187
- Field 'TYPE_NAME' missing in all SEA rows
188188
- Field 'TABLE_TYPE' missing in all SEA rows
@@ -192,16 +192,16 @@ Column Metadata:
192192
-----------------
193193
Row Data:
194194
- Field 'tableName' missing in all Thrift rows
195+
- Field 'isTemporary' missing in all Thrift rows
195196
- Field 'remarks' missing in all Thrift rows
196197
- Field 'namespace' missing in all Thrift rows
197-
- Field 'isTemporary' missing in all Thrift rows
198198
- Field 'information' missing in all Thrift rows
199-
- Field 'SELF_REFERENCING_COL_NAME' missing in all SEA rows
200-
- Field 'TABLE_SCHEM' missing in all SEA rows
201-
- Field 'TABLE_CAT' missing in all SEA rows
202199
- Field 'REMARKS' missing in all SEA rows
200+
- Field 'TABLE_CAT' missing in all SEA rows
203201
- Field 'TABLE_NAME' missing in all SEA rows
204202
- Field 'REF_GENERATION' missing in all SEA rows
203+
- Field 'SELF_REFERENCING_COL_NAME' missing in all SEA rows
204+
- Field 'TABLE_SCHEM' missing in all SEA rows
205205

206206
============================
207207

@@ -229,8 +229,8 @@ Row Data:
229229
---------------------
230230
Column Metadata:
231231
- Description length mismatch: Thrift has 10 columns, SEA has 7: [('TABLE_CAT', 'string', None, None, None, None, None), ('TABLE_SCHEM', 'string', None, None, None, None, None), ('TABLE_NAME', 'string', None, None, None, None, None), ('TABLE_TYPE', 'string', None, None, None, None, None), ('REMARKS', 'string', None, None, None, None, None), ('TYPE_CAT', 'string', None, None, None, None, None), ('TYPE_SCHEM', 'string', None, None, None, None, None), ('TYPE_NAME', 'string', None, None, None, None, None), ('SELF_REFERENCING_COL_NAME', 'string', None, None, None, None, None), ('REF_GENERATION', 'string', None, None, None, None, None)] vs [('namespace', 'string', None, None, None, None, None), ('tableName', 'string', None, None, None, None, None), ('isTemporary', 'boolean', None, None, None, None, None), ('information', 'string', None, None, None, None, None), ('catalogName', 'string', None, None, None, None, None), ('tableType', 'string', None, None, None, None, None), ('remarks', 'string', None, None, None, None, None)]
232-
- Field 'tableType' missing in all Thrift rows
233232
- Field 'catalogName' missing in all Thrift rows
233+
- Field 'tableType' missing in all Thrift rows
234234
- Field 'TYPE_CAT' missing in all SEA rows
235235
- Field 'TYPE_NAME' missing in all SEA rows
236236
- Field 'TABLE_TYPE' missing in all SEA rows
@@ -240,16 +240,16 @@ Column Metadata:
240240
-----------------
241241
Row Data:
242242
- Field 'tableName' missing in all Thrift rows
243+
- Field 'isTemporary' missing in all Thrift rows
243244
- Field 'remarks' missing in all Thrift rows
244245
- Field 'namespace' missing in all Thrift rows
245-
- Field 'isTemporary' missing in all Thrift rows
246246
- Field 'information' missing in all Thrift rows
247-
- Field 'SELF_REFERENCING_COL_NAME' missing in all SEA rows
248-
- Field 'TABLE_SCHEM' missing in all SEA rows
249-
- Field 'TABLE_CAT' missing in all SEA rows
250247
- Field 'REMARKS' missing in all SEA rows
248+
- Field 'TABLE_CAT' missing in all SEA rows
251249
- Field 'TABLE_NAME' missing in all SEA rows
252250
- Field 'REF_GENERATION' missing in all SEA rows
251+
- Field 'SELF_REFERENCING_COL_NAME' missing in all SEA rows
252+
- Field 'TABLE_SCHEM' missing in all SEA rows
253253

254254
============================
255255

@@ -261,46 +261,46 @@ Row Data:
261261
---------------------
262262
Column Metadata:
263263
- Description length mismatch: Thrift has 23 columns, SEA has 13: [('TABLE_CAT', 'string', None, None, None, None, None), ('TABLE_SCHEM', 'string', None, None, None, None, None), ('TABLE_NAME', 'string', None, None, None, None, None), ('COLUMN_NAME', 'string', None, None, None, None, None), ('DATA_TYPE', 'int', None, None, None, None, None), ('TYPE_NAME', 'string', None, None, None, None, None), ('COLUMN_SIZE', 'int', None, None, None, None, None), ('BUFFER_LENGTH', 'tinyint', None, None, None, None, None), ('DECIMAL_DIGITS', 'int', None, None, None, None, None), ('NUM_PREC_RADIX', 'int', None, None, None, None, None), ('NULLABLE', 'int', None, None, None, None, None), ('REMARKS', 'string', None, None, None, None, None), ('COLUMN_DEF', 'string', None, None, None, None, None), ('SQL_DATA_TYPE', 'int', None, None, None, None, None), ('SQL_DATETIME_SUB', 'int', None, None, None, None, None), ('CHAR_OCTET_LENGTH', 'int', None, None, None, None, None), ('ORDINAL_POSITION', 'int', None, None, None, None, None), ('IS_NULLABLE', 'string', None, None, None, None, None), ('SCOPE_CATALOG', 'string', None, None, None, None, None), ('SCOPE_SCHEMA', 'string', None, None, None, None, None), ('SCOPE_TABLE', 'string', None, None, None, None, None), ('SOURCE_DATA_TYPE', 'smallint', None, None, None, None, None), ('IS_AUTO_INCREMENT', 'string', None, None, None, None, None)] vs [('col_name', 'string', None, None, None, None, None), ('catalogName', 'string', None, None, None, None, None), ('namespace', 'string', None, None, None, None, None), ('tableName', 'string', None, None, None, None, None), ('columnType', 'string', None, None, None, None, None), ('columnSize', 'int', None, None, None, None, None), ('decimalDigits', 'int', None, None, None, None, None), ('radix', 'int', None, None, None, None, None), ('isNullable', 'string', None, None, None, None, None), ('remarks', 'string', None, None, None, None, None), ('ordinalPosition', 'int', None, None, None, None, None), ('isAutoIncrement', 'string', None, None, None, None, None), ('isGenerated', 'string', None, None, None, None, None)]
264-
- Field 'columnType' missing in all Thrift rows
265264
- Field 'columnSize' missing in all Thrift rows
266265
- Field 'catalogName' missing in all Thrift rows
266+
- Field 'columnType' missing in all Thrift rows
267+
- Field 'SCOPE_CATALOG' missing in all SEA rows
268+
- Field 'SCOPE_SCHEMA' missing in all SEA rows
267269
- Field 'COLUMN_SIZE' missing in all SEA rows
270+
- Field 'SQL_DATA_TYPE' missing in all SEA rows
268271
- Field 'COLUMN_DEF' missing in all SEA rows
269-
- Field 'TYPE_NAME' missing in all SEA rows
270272
- Field 'SOURCE_DATA_TYPE' missing in all SEA rows
271-
- Field 'SQL_DATA_TYPE' missing in all SEA rows
272-
- Field 'SCOPE_CATALOG' missing in all SEA rows
273-
- Field 'COLUMN_NAME' missing in all SEA rows
274-
- Field 'SCOPE_SCHEMA' missing in all SEA rows
275273
- Field 'DATA_TYPE' missing in all SEA rows
274+
- Field 'TYPE_NAME' missing in all SEA rows
275+
- Field 'COLUMN_NAME' missing in all SEA rows
276276

277277
**Data Differences:**
278278
-----------------
279279
Row Data:
280-
- Field 'isAutoIncrement' missing in all Thrift rows
281280
- Field 'tableName' missing in all Thrift rows
282-
- Field 'remarks' missing in all Thrift rows
283-
- Field 'namespace' missing in all Thrift rows
284-
- Field 'radix' missing in all Thrift rows
285281
- Field 'isGenerated' missing in all Thrift rows
286-
- Field 'ordinalPosition' missing in all Thrift rows
282+
- Field 'isAutoIncrement' missing in all Thrift rows
283+
- Field 'radix' missing in all Thrift rows
287284
- Field 'isNullable' missing in all Thrift rows
288-
- Field 'col_name' missing in all Thrift rows
289285
- Field 'decimalDigits' missing in all Thrift rows
290-
- Field 'NULLABLE' missing in all SEA rows
291-
- Field 'BUFFER_LENGTH' missing in all SEA rows
286+
- Field 'ordinalPosition' missing in all Thrift rows
287+
- Field 'remarks' missing in all Thrift rows
288+
- Field 'col_name' missing in all Thrift rows
289+
- Field 'namespace' missing in all Thrift rows
290+
- Field 'IS_AUTO_INCREMENT' missing in all SEA rows
291+
- Field 'REMARKS' missing in all SEA rows
292292
- Field 'TABLE_NAME' missing in all SEA rows
293-
- Field 'NUM_PREC_RADIX' missing in all SEA rows
294-
- Field 'DECIMAL_DIGITS' missing in all SEA rows
293+
- Field 'ORDINAL_POSITION' missing in all SEA rows
295294
- Field 'SQL_DATETIME_SUB' missing in all SEA rows
296-
- Field 'IS_NULLABLE' missing in all SEA rows
297-
- Field 'TABLE_SCHEM' missing in all SEA rows
298295
- Field 'SCOPE_TABLE' missing in all SEA rows
299-
- Field 'IS_AUTO_INCREMENT' missing in all SEA rows
296+
- Field 'IS_NULLABLE' missing in all SEA rows
300297
- Field 'TABLE_CAT' missing in all SEA rows
301-
- Field 'ORDINAL_POSITION' missing in all SEA rows
298+
- Field 'BUFFER_LENGTH' missing in all SEA rows
299+
- Field 'NUM_PREC_RADIX' missing in all SEA rows
302300
- Field 'CHAR_OCTET_LENGTH' missing in all SEA rows
303-
- Field 'REMARKS' missing in all SEA rows
301+
- Field 'NULLABLE' missing in all SEA rows
302+
- Field 'DECIMAL_DIGITS' missing in all SEA rows
303+
- Field 'TABLE_SCHEM' missing in all SEA rows
304304

305305
============================
306306

@@ -389,11 +389,6 @@ Column Metadata:
389389
- Column 1 (small_col) type_code mismatch: smallint vs short
390390
- Column 3 (big_col) type_code mismatch: bigint vs long
391391

392-
**Data Differences:**
393-
-----------------
394-
Row Data:
395-
- Exception: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
396-
397392
============================
398393

399394
**Query Type:** SQL Query
@@ -437,7 +432,7 @@ Column Metadata:
437432
============================
438433

439434
**Result:** PASSED
440-
**Execution Time:** Thrift: 2.7094s, SEA: 3.1544s
435+
**Execution Time:** Thrift: 4.7163s, SEA: 4.5337s
441436

442437
============================
443438

0 commit comments

Comments
 (0)