Skip to content

[CALCITE-2208]Schemas now uses the config of current connection to make context,#1123

Closed
LaiZhou wants to merge 1 commit intoapache:masterfrom
LaiZhou:2940
Closed

[CALCITE-2208]Schemas now uses the config of current connection to make context,#1123
LaiZhou wants to merge 1 commit intoapache:masterfrom
LaiZhou:2940

Conversation

@LaiZhou
Copy link
Copy Markdown
Contributor

@LaiZhou LaiZhou commented Mar 21, 2019

Schemas now uses the config of current connection to make context,
and CalcitePrepareImpl now uses the context's config rather than a default config
to create a SqlParser in the 'parse_' method.

and CalcitePrepareImpl's method `parser_` now uses the context's config rather than  a default config
 to create a  SqlParser  (Lai Zhou)
@LaiZhou LaiZhou changed the title Schemas now uses the config of current connection to make context, [CALCITE-2208]Schemas now uses the config of current connection to make context, Mar 21, 2019
@LaiZhou LaiZhou closed this Mar 21, 2019
@julianhyde
Copy link
Copy Markdown
Contributor

@LaiZhou Why did you close this?

Let's discuss in https://issues.apache.org/jira/browse/CALCITE-2208.

@LaiZhou
Copy link
Copy Markdown
Contributor Author

LaiZhou commented Mar 24, 2019

@julianhyde , I try to fix this bug, but my PR is quick and dirty, only works for my use case , so I closed this. It will cause problems when I use SqlCreateTable. I'll take more time to dig the related code to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants