Yes Calcite supports Chinese.

Your problem is that by default SQL character literals do not belong to a code 
page that can handle Chinese characters. 

The solution is complicated, so I forget the details. See 
https://issues.apache.org/jira/browse/DRILL-4039 
<https://issues.apache.org/jira/browse/DRILL-4039>. 

> On Nov 7, 2018, at 1:31 AM, 朱力(梧空) <[email protected]> wrote:
> 
> 
> dear guys,
> 
> does calcite support chinese? in my case, what should i do ?
> 0: jdbc:lindorm:100.81.140.116:30024:test> upsert into t1(c1,c2,c3) 
> values('中文',2,2); Error: Error while executing SQL "upsert into t1(c1,c2,c3) 
> values('中文',2,2)": Failed to encode '中文' in character set 'ISO-8859-1' 
> (state=,code=0)
> 
> thanks

Reply via email to