[desktop] Revert "HUE-7192 [desktop] Hue Search is failing with DatabaseError"
This reverts commit
Was causing
@@ -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"
