Re: lex parameter does not get taken into account for views

2019-12-04 Thread Julian Hyde
As I remarked in the Jira, we don’t want views to be expanded according to the rules of the current connection. Views belong to the schema, and the schema is shared among many connections, which may have different lex parameters. > On Dec 1, 2019, at 10:06 PM, XING JIN wrote: > > Filed a

Re: lex parameter does not get taken into account for views

2019-12-01 Thread XING JIN
Filed a JIRA: https://issues.apache.org/jira/browse/CALCITE-3549 Danny Chan 于2019年12月2日周一 上午9:06写道: > Dear Erin ~ > > You are right, Calcite now always hard code the parser config for JDBC > query[1], that means, Lex config for view expanding is not supported yet, > can you log a issue and

Re: lex parameter does not get taken into account for views

2019-12-01 Thread Danny Chan
Dear Erin ~ You are right, Calcite now always hard code the parser config for JDBC query[1], that means, Lex config for view expanding is not supported yet, can you log a issue and probably fire a patch to support that? [1] 

lex parameter does not get taken into account for views

2019-12-01 Thread Erin Drummond
Hello, I am currently attempting to test out the views feature of Calcite. I am using a connection string like so: jdbc:calcite:lex=JAVA;model=inline: I have created a JdbcSchema that is attached to an actual database - lets call it "t1". I can successfully run the query "select * from t1.table