deniskuzZ commented on code in PR #5404:
URL: https://github.com/apache/hive/pull/5404#discussion_r1882300295


##########
standalone-metastore/metastore-server/src/main/sql/derby/hive-schema-4.1.0.derby.sql:
##########
@@ -171,7 +171,7 @@ CREATE TABLE "APP"."NOTIFICATION_LOG" (
     "EVENT_ID" BIGINT NOT NULL,
     "EVENT_TIME" INTEGER NOT NULL,
     "EVENT_TYPE" VARCHAR(32) NOT NULL,
-    "MESSAGE" CLOB,
+    "MESSAGE" VARCHAR(32672),

Review Comment:
   there is a function for that. I don't think we should be doing schema change
   ````
     public String toVarChar(String column) {
       switch (dbType) {
         case DERBY:
           return String.format("CAST(%s AS VARCHAR(4000))", column);
         case ORACLE:
           return String.format("to_char(%s)", column);
         default:
           return column;
       }
     }
   ````



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to