abhioncbr commented on code in PR #10763: URL: https://github.com/apache/pinot/pull/10763#discussion_r1193019666
########## pinot-query-planner/src/main/java/org/apache/pinot/query/type/TypeFactory.java: ########## @@ -81,14 +81,14 @@ private RelDataType toRelDataType(FieldSpec fieldSpec) { return fieldSpec.isSingleValueField() ? createSqlType(SqlTypeName.DECIMAL) : createArrayType(createSqlType(SqlTypeName.DECIMAL), -1); case JSON: - // TODO: support JSON, JSON should be supported using a special RelDataType as it is not a simple String, - // nor can it be easily parsed as a STRUCT. + return createSqlType(SqlTypeName.VARCHAR); Review Comment: Make sense. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org