[jira] [Created] (CALCITE-5546) Code style: Break long assignment expressions after '='

2023-02-25 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-5546: Summary: Code style: Break long assignment expressions after '=' Key: CALCITE-5546 URL: https://issues.apache.org/jira/browse/CALCITE-5546 Project: Calcite I

Re: How to use TO_DATE function in Calcite SQL,fun option not effective

2023-02-25 Thread Julian Hyde
Does STR_TO_DATE appear among the supported functions? https://calcite.apache.org/docs/reference.html Julian > On Feb 25, 2023, at 11:19 AM, Ein wrote: > > I want to enable STR_TO_DATE or TO_DATE For functions such as DATE, I set > according to the document: > Properties info=new Properties()

How to use TO_DATE function in Calcite SQL,fun option not effective

2023-02-25 Thread Ein
I want to enable STR_TO_DATE or TO_DATE For functions such as DATE, I set according to the document: Properties info=new Properties() info.setProperty("caseSensitive", "false"); info.setProperty("conformance", "LENIENT"); // Connection baseConnection = DriverManager.getConnection("jdbc:calcite:fun=