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:
[email protected]
With regards,
Apache Git Services