This reverts commit 1c52eb264845e871c7b61526b5fc23a3431d3a74. Was causing https://issues.cloudera.org/browse/HUE-7305
@@ -273,7 +273,7 @@ WHEN (new.%(col_name)s IS NULL)
def field_cast_sql(self, db_type, internal_type):
if db_type and db_type.endswith('LOB'):
- return "DBMS_LOB.SUBSTR(%s, 1000000)"
+ return "DBMS_LOB.SUBSTR(%s, 4000)"
else:
return "%s"