Migrate CaseInsensitiveMapping tests to BaseCaseInsensitiveMappingTest#8374
Migrate CaseInsensitiveMapping tests to BaseCaseInsensitiveMappingTest#8374OLMS99 wants to merge 3 commits intotrinodb:masterfrom
Conversation
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
hashhar
left a comment
There was a problem hiding this comment.
Thanks for working on it - some comments.
Also can you please change the commit message to Migrate CaseInsensitiveMapping tests to BaseCaseInsensitiveMappingTest.
...rino-bigquery/src/test/java/io/trino/plugin/bigquery/TestBigQueryCaseInsensitiveMapping.java
Outdated
Show resolved
Hide resolved
...rino-bigquery/src/test/java/io/trino/plugin/bigquery/TestBigQueryCaseInsensitiveMapping.java
Outdated
Show resolved
Hide resolved
...rino-bigquery/src/test/java/io/trino/plugin/bigquery/TestBigQueryCaseInsensitiveMapping.java
Outdated
Show resolved
Hide resolved
|
Working on it and two questions: Is there a way to make the pull request without using my virtual machine's name and use my username instead? And Is there a way to edit the name out of cla-bot's message? |
You can follow the instructions from the bot. Specifically |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
I followed the instructions and the username is still the machine's name, any idea? |
hashhar
left a comment
There was a problem hiding this comment.
I can see the new commit has the correct identity OLMS99 <olavolucasprogrammer@protonmail.com>.
You might want to squash both commits together.
...rino-bigquery/src/test/java/io/trino/plugin/bigquery/TestBigQueryCaseInsensitiveMapping.java
Outdated
Show resolved
Hide resolved
|
And what about the clabot? |
The CLA bot picks the name from the commit. Once you push all commits with new name it'll reflect there. |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Yes, I've sent 3 days ago |
|
@OLMS99 The CLA is a manual process and it'll get approved in some time. Meanwhile can you fix the failing tests and the checkstyle errors? It might be easier to tackle this as 3 separate commits (one for each connector). |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
4 similar comments
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
@hashhar hey so, any idea what's causing error in pt (default, suite-7-non-generic)? And is there any reference to Trino coding conventions? Does the memsql.license on the remote repository in order? |
|
There was an issue with SQL Server docker images being moved. It's fixed now. See #8416 For codestyle follow the instructions at https://github.com/trinodb/trino/blob/master/DEVELOPMENT.md#code-style. |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
1 similar comment
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
@hashhar Working on the TestBigQueryCaseInsensitiveMapping, and there's a different Table and Schema naming convention (TestOracleCaseInsensitiveMapping have this same situation), should I ignore this in favor to BaseCaseInsensitiveMappingTest naming convention, the other way around or find a way to keep both? |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
3 similar comments
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
@hashhar Hey there, my errorprone plugin stopped working, I'm using comunity version of intellj and I can't test the code because of it, any sugestion to solve it? |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
1 similar comment
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
3 similar comments
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
@cla-bot check |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
The cla-bot has been summoned, and re-checked this pull request! |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
|
Trying to squash |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Presto_fdp.
|
There is some issue with your account in GitHub. Somehow github thinks you are not the author the code. Can you please make github to display |
|
I think rebase/squash don't change author unless |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: OLMS99.
|
kokosing
left a comment
There was a problem hiding this comment.
Looks good. Few minor comments.
| } | ||
|
|
||
| @Test | ||
| @Test @Override |
There was a problem hiding this comment.
Can you please add a comment why method is overriden?
Please put each annotation in separate line
| public void testTableNameClash() | ||
| throws Exception | ||
| { | ||
| String[] nameVariants = {"\"casesensitivename\"", "\"CaseSensitiveName\"", "\"CASESENSITIVENAME\""}; |
There was a problem hiding this comment.
the methods withTable and withSchema at BaseCaseInsensitiveappingTest.java insert the quotes on the names received using the method quoted.
| protected SqlExecutor onRemoteDatabase() | ||
| { | ||
| memSqlServer.execute(sql); | ||
| return memSqlServer::execute; |
There was a problem hiding this comment.
You can inline the function here. So something like return sql -> memSqlServer.execute(sql) and then remove the execute function since it's not used anywhere anymore.
There was a problem hiding this comment.
ok, do the inline at onRemoteDataBase() of TestOracleCaseInsensitiveMapping.java too? @hashhar
|
About the "user trino_test doesn't exist" problem, if I put a withSchema("trino_test"), it's raised an error of ambiguous username, and if I don't, it's raised an error of user "trino_user" doesn't exist. Any idea whats happening? @hashhar |
|
@hashhar ? |
|
Done in #11250 |

Fixes #7864