Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0.0-incubating
-
None
-
None
Description
CalciteConnectionImpl.config is used in lots of places, however the resulting CalciteConnectionConfig is immutable enough, so:
1) No need to recreate new config object every time
2) No need to "parse" the values of input map (e.g. like CalciteConnectionProperty.QUOTING.wrap(properties).getEnum(Quoting.class, lex().quoting)).
I think we can just pre-parse all the values in the CalciteConnectionConfig constructor and store the results to fields.
Attachments
Issue Links
- links to