-
Notifications
You must be signed in to change notification settings - Fork 11
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
Remove upper case transformations from GA #28
Conversation
… data is uppercased
… into case-sensitivity
Codecov Report
@@ Coverage Diff @@
## master #28 +/- ##
============================================
+ Coverage 59.29% 59.82% +0.53%
- Complexity 669 675 +6
============================================
Files 63 63
Lines 2823 2823
Branches 394 394
============================================
+ Hits 1674 1689 +15
+ Misses 1050 1040 -10
+ Partials 99 94 -5
Continue to review full report at Codecov.
|
Currently, the following three tests take way longer to execute than they used to:
I'm not sure what causes it, but we should look into this. |
An update to my own concerns about the test speed regression: it appears that the tests run as fast as ever when using CLI tools such as Gradle to run the test. It mostly seems that the new IntelliJ 2018.1 release is slowing things down. While checking this out, Gradle generated 321735 log lines in a timespan of Edit: it's not the upgrade from IntelliJ 2017.3 to 2018.1 since it's slow in there as well. |
Wow, @danielvangelder, this is a lot of work. Thanks for this PR! Just for me to understand the motives: why the upper case would cause problems to the test generation? |
We started testing using a simple PostgreSQL server, since that's a nice free SQL DBMS that supports escaping via quotes ( Now, what happened is that we created a schema in Postgres that was using camelCase for identifiers. SQL is usually case-insensitive, but once you start escaping identifiers, the DBMS suddenly decides that it should now be case-sensitive, and then this becomes an issue. To illustrate; we have a table named |
Makes totally sense to me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work Paul on fixing the test cases relying on case sensitivity!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job on your part as well!
GA transformed table and column names to upper case names which would cause trouble in unit test generation. Removing this feature does not seem to cause any trouble for Sqlfpc or jSQLparser (for which it was intended). See #29 for details.