You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added MS SQL support for the dataframe-jdbc module (#689)
* Add support for MS SQL database type and associated tests
Added support for MS SQL database type in the util.kt file and created a new file for MS SQL configuration. Additionally, implemented test cases for new support in mssqlTest.kt.
* Add sqlQueryLimitOne method to DbType and update test cases
Implemented sqlQueryLimitOne method in DbType companion object. This method generates a SQL query that selects one record from a given table. Also, updated the unit tests to accommodate these modifications.
* Refactor SQL query limit implementation across databases
The SQL query limit behavior has been updated to use a unified method, `sqlQueryLimit`, on different database types, instead of hardcoding this limitation. This ensures a consistent application of these limits across different databases.
Also added `TODO` comments to address the nullability issues and points to be checked like filtering system tables and special behavior with catalogues in MSSQL in the future.
* Refactored and improved SQL query limit and nullability handling
* Ignore MSSQLTest class in test execution
* Add MSSQL support and clean up code
This commit adds Microsoft SQL Server (MSSQL) library to the dataframe-jdbc project's dependencies. Also, system table filtering has been specifically implemented for MSSQL by adjusting the isSystemTable method. This is a significant improvement over the previous assumption that all DBMS are similar to MySql.
* Ignore MSSQLTest class in unit tests
* Refactor indentation in Kotlin files
* Update comments and fix formatting in MsSql.kt and build.gradle.kts
* Refactor code to simplify SQL query construction
0 commit comments