Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.36.0
Description
The following test in JdbcTest throws "Cannot apply = to the two different charsets ISO-8859-1 and GBK"
CalciteAssert.hr() .query("select \"name\", \"empid\" from \"hr\".\"emps\"\n" + "where convert('a' using GBK)=_GBK'a' order by \"empid\"") .returns("name=Eric; empid=200\n" + "name=Sebastian; empid=150\n" + "name=Theodore; empid=110\n" + "name=Bill; empid=100\n");
Since we try to convert 'a' with GBK, the charset of its result should also be treated as GBK.
Attachments
Issue Links
- links to