Github user kaspersorensen commented on a diff in the pull request:
https://github.com/apache/metamodel/pull/133#discussion_r82675958
--- Diff:
jdbc/src/main/java/org/apache/metamodel/jdbc/dialects/HiveQueryRewriter.java ---
@@ -35,6 +35,10 @@ public String rewriteColumnType(ColumnType columnType,
Integer columnSize) {
if (columnType == ColumnType.INTEGER) {
return "INT";
}
+ // Hive does not support VARCHAR without a width, nor VARCHAR(MAX).
+ if (columnType == ColumnType.STRING && columnSize == null) {
--- End diff --
No I wouldn't worry about it. There was a bug once about not rewriting
STRING properly but I think that's just history.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---