JiajunBernoulli commented on code in PR #4287:
URL: https://github.com/apache/calcite/pull/4287#discussion_r2040582786
##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -2514,9 +2514,8 @@ private SqlDialect nonOrdinalDialect() {
*/
@Test void testCastArrayCharset() {
final String query = "select cast(array['a', 'b', 'c'] as varchar array)";
- final String expected = "SELECT CAST(ARRAY ('a', 'b', 'c') AS VARCHAR
ARRAY)";
sql(query)
- .withHive().ok(expected);
+ .withHive().throws_("Hive dialect does not support cast to ARRAY");
Review Comment:
@mihaibudiu Yes, hive does not support it.
This is my mistake.
Postgre support it, can we add one line `withPostgresql()`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]