Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2024-01-22 Thread via GitHub
snuyanzin closed pull request #3590: [CALCITE-6172] PoC for parameterized tests URL: https://github.com/apache/calcite/pull/3590 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment.

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2024-01-22 Thread via GitHub
snuyanzin commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1905433095 closing since the PR was merged -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2024-01-11 Thread via GitHub
tanclary commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1888065444 > This has developed a conflict, can you please fix it and I will merge. This is just a PoC it can be closed, I merged the actual impl -- This is an automated message from the

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2024-01-11 Thread via GitHub
mihaibudiu commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1888021698 This has developed a conflict, can you please fix it and I will merge. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-28 Thread via GitHub
julianhyde commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1871348454 Is this PR just a proof of concept? If so, let’s not merge the PoC, let’s merge a commit that does the actual task - reduces duplication of testing for aliased functions. By all means

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-27 Thread via GitHub
tanclary commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1870656854 > It's still marked as draft for some reason. I converted to ready for review, hope that's alright. -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-27 Thread via GitHub
mihaibudiu commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1870655040 It's still marked as draft for some reason. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-22 Thread via GitHub
sonarcloud[bot] commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1868028271 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-22 Thread via GitHub
tanclary commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1435298880 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8899,43 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-22 Thread via GitHub
snuyanzin commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1435295636 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8898,44 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-22 Thread via GitHub
snuyanzin commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1435295317 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8898,44 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-22 Thread via GitHub
tanclary commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1435264996 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8898,44 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
mihaibudiu commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1434660313 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8898,44 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
snuyanzin commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1434637134 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8898,44 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
sonarcloud[bot] commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1867101890 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
mihaibudiu commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1434613012 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8898,44 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
julianhyde commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1434597746 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -13686,6 +13673,31 @@ void testCastTruncates(CastType castType, SqlOperatorFixture f)

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
julianhyde commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1867061770 @mihaibudiu The danger with your approach is that, by working on the AST, you automatically fix errors. E.g. you might accidentally change STARTSWITH to STARTS_WITH and not notice

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
julianhyde commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1434594909 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -8897,56 +8898,42 @@ private void testCurrentDateFunc(Pair pair) {

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
julianhyde commented on code in PR #3590: URL: https://github.com/apache/calcite/pull/3590#discussion_r1434594471 ## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ## @@ -13686,6 +13673,31 @@ void testCastTruncates(CastType castType, SqlOperatorFixture f)

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
mihaibudiu commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1867056620 You leave the queries unchanged, and then you use a shuttle to replace the use of `starts_with` with `startswith`. -- This is an automated message from the Apache Git Service. To

Re: [PR] [CALCITE-6172] PoC for parameterized tests [calcite]

2023-12-21 Thread via GitHub
snuyanzin commented on PR #3590: URL: https://github.com/apache/calcite/pull/3590#issuecomment-1867055416 I didn't get how shuttle could help with different `SQLLibraries` per alias... -- This is an automated message from the Apache Git Service. To respond to the message, please log on