Skip to content

v0.3.2

Choose a tag to compare

@sabrikaragonen sabrikaragonen released this 21 Feb 17:47
· 18 commits to main since this release

What's Changed

Replace SQL parsing with driver-native result detection_execute() no longer uses regex to guess whether a SQL statement returns rows. Instead, it inspects each driver's native mechanism after execution:

  • BigQuery: job.result().schema
  • Snowflake: cursor.description
  • DBAPI types (Postgres, MySQL, MSSQL, etc.): cursor.description + cursor.fetchall()
  • DuckDB / MotherDuck: result.description
  • Databricks: cursor.description
  • ClickHouse: result.column_names

Other changes

  • Added integration tests for DuckDB, BigQuery, and Snowflake
  • BigQuery integration tests support Application Default Credentials (ADC)

Full Changelog: v0.3.1...v0.3.2