Skip to content

feat(go): override literal and select tests, implement DriverInfoPreparer, setup linters#107

Merged
lidavidm merged 5 commits intoadbc-drivers:mainfrom
Mandukhai-Alimaa:feat/override-tests
Jan 7, 2026
Merged

feat(go): override literal and select tests, implement DriverInfoPreparer, setup linters#107
lidavidm merged 5 commits intoadbc-drivers:mainfrom
Mandukhai-Alimaa:feat/override-tests

Conversation

@Mandukhai-Alimaa
Copy link
Collaborator

What's Changed

  • Implement DriverInfoPreparer and get Databricks version as vendor version instead of driver version
  • Setup python and go linter
  • Fix driver name registration
  • Use Databricks_URI for the validation suite.
  • Override select and literal tests. (Decimal select and literal tests failing due to [Go] Decimal type is being returned as string #106)
  • I ran the modified pre-commit with the linters, and it fixed up some files.

Other test failures are mostly from NotImplemented error. When we implement the new features, we will enable the corresponding tests.

@Mandukhai-Alimaa
Copy link
Collaborator Author

@lidavidm @amoeba

lidavidm pushed a commit to adbc-drivers/validation that referenced this pull request Jan 7, 2026
## What's Changed

Use sqlglot to split statements based on the vendor. 

adbc-drivers/databricks#107 (comment)
Copy link
Contributor

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

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

Why do the docs fail to generate?

@Mandukhai-Alimaa
Copy link
Collaborator Author

it seems the gendoc is failing because it assumes test_get_info test has been run and the driver properties are recorded but since all the tests were skipped in the CI, the properties are not recorded, and it is erroring. Once we add the necessary env variables to the github secret, and tests start running it should resolve itself probably? https://github.com/adbc-drivers/validation/blob/main/adbc_drivers_validation/generate_documentation.py#L488

@lidavidm
Copy link
Contributor

lidavidm commented Jan 7, 2026

Ah I thought the tests were running in CI, ok, thanks

@lidavidm lidavidm merged commit a8b81fd into adbc-drivers:main Jan 7, 2026
11 of 13 checks passed
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.

2 participants