You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/03/09 06:06:54 UTC

[GitHub] [calcite] asereda-gs commented on a change in pull request #1031: [CALCITE-2742] Update RexImpTable to use DataContext to retrieve USER and SYSTEM_USER

asereda-gs commented on a change in pull request #1031: [CALCITE-2742] Update RexImpTable to use DataContext to retrieve USER and SYSTEM_USER
URL: https://github.com/apache/calcite/pull/1031#discussion_r263988231
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/test/JdbcTest.java
 ##########
 @@ -2385,17 +2385,17 @@ private void checkNullableTimestamp(CalciteAssert.Config config) {
   @Test public void testReuseExpressionWhenNullChecking3() {
     CalciteAssert.hr()
         .query(
-            "select substring(\"name\", \"deptno\"+case when user <> 'sa' then 1 end) from \"hr\".\"emps\"")
+            "select substring(\"name\", \"deptno\"+case when CURRENT_PATH <> '' then 1 end) from \"hr\".\"emps\"")
 
 Review comment:
   Is it possible to set `user` to `sa` for current test instead of changing the query ? 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services