-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[StaplesDataTest] fail with exasol_odbc because of wrong sort order #871
Comments
Internal tracking id: 1327205 |
@kaklakariada This could be related to collation setting of the columns. Here is the table definition in our test environment.
|
@sxlin Thank you for your reply! I checked the data type, and it is describe TESTV1."Staples";
The Thank you very much for your help! |
See tableau/connector-plugin-sdk#871 for details.
* Update name of ODBC driver * Update ODBC manifest * Add JDBC connector * Add JDBC capabilities * Describe installation of jdbc driver * Adapt capabilities for jdbc driver * Add fingerprint * Configure tdvt * Add data source tests * Add results workbook * Update data source * Update test result workbook * Configure string trim for jdbc * Add test with bad password * Skip string.split test: function not supported by Exasol * Rename column zzz2 to zzz * Remove trailing spaces when extracting parts of a date * Remove duplicate space * Add rationale for skipping the 'split' function tests * Change test user name to be equal to odbc tests * Skip test for time data type TIME not supported by Exasol * Rename tdvt folder to odbc * Adapt hostname for jdbc tests * Adapt odbc tests to run * Unify test configuration for jdbc & odbc * Fix odbc issues with spaces Remove trimming capabilities that hide issue with trailing spaces in TO_CHAR() * Configure max number of threads to 1 * Remvove argument for number of threads This is now configured in the ini file * Add comment about failing tests * Ignore Eclipse config files * Update instructions for building the dockerfile * Update dependencies * Improve formatting of readme * Add HtmlUnit driver * Use Exasol 7.1.1, improve error handling * Improve error handling in shell script * Cleanup * Adapt configuration to Eclipse 2021-09 * Validate & package jdbc connector * Improve pom setup * Cleanup tests: remove unused ports * Read properties file in Java code to avoid having to set environment variables when running tests from the IDE. * Upgrade testcontainers to fix uploading files to the container user id 'xxx' is too big ( > 2097151 ) when using commons-compress 1.21 with large user ID testcontainers/testcontainers-java#4384 * Adapt UI-Tests to new Connector name / Tableau version * Run tests in headless mode * Document ui-test setup * Build JDBC url with fingerprint and certificate validation arguments * Update fingerprint in connection files * Add developer guide * Move test instructions to developer guide * Add connection dialog screenshot * Configure Eclipse formatter to never join already wrapped lines * Extract base class for JDBC & ODBC connector tests * Add UI tests for JDBC connector * Fix failing StaplesDataTest See tableau/connector-plugin-sdk#871 for details. * Add changelog, improve documentation * #22 Implement review findings by @AnastasiiaSergienko * Apply suggestions from code review Co-authored-by: Anastasiia Sergienko <[email protected]> * Implement review findings by @AnastasiiaSergienko Co-authored-by: Anastasiia Sergienko <[email protected]>
About You:
Name: Christoph Pirkl
Company: @exasol
Environment:
Tableau Desktop for Windows, version 2021.3
Windows 2019 Server
Your question:
When working on the Exasol JDBC Connector (exasol/tableau-connector#23) I also fixed some issues with the ODBC Connector and activated additional TDVT tests, especially
[StaplesDataTest]
. Two of the added tests are failing:staples_data.employee_name
staples_data.product_name
Both fail because the sort order expected by the tests differs from the actual results. The same tests run successfully for the JDBC Connector against the same database.
The diff for the first 100 results of
staples_data.employee_name
suggests that the issues could be caused by special characters, in this case theí
inBrígida Campos
, because the names before where in the correct order:The
staples_data.product_name
test fails with the same issue of wrong sort order as it also contains special chars like"
and#
.See complete TDVT test results: tdvt_results_exasol_odbc.zip
I checked the list of capabilities but didn't find one that is related to sort order or encoding.
Please find the exasol_odbc connector at https://github.com/exasol/tableau-connector/tree/feature/22-switch-to-jdbc-driver/src/exasol_odbc and the TDVT configuration at https://github.com/exasol/tableau-connector/tree/feature/22-switch-to-jdbc-driver/tdvt_odbc
Please advise us how to find the root cause of the failing tests.
The text was updated successfully, but these errors were encountered: