Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 committed Dec 12, 2023
1 parent 38c14e9 commit 00c1519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class LinkisStorageConf {
CommonVars.apply("wds.linkis.resultset.row.max.str", "2m").getValue();

public static final String ENGINE_RESULT_TYPE =
CommonVars.apply("linkis.engine.resultSet.type", ORC, "Result type").getValue();
CommonVars.apply("linkis.engine.resultSet.type", DOLPHIN, "Result type").getValue();

public static final long ROW_BYTE_MAX_LEN = ByteTimeUtils.byteStringAsBytes(ROW_BYTE_MAX_LEN_STR);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public static TypeDescription dataTypeToOrcType(DataType type) {
return TypeDescription.createChar().withMaxLength(1024);
case StringType:
return TypeDescription.createString();
case LongType:
return TypeDescription.createLong();
case VarcharType:
return TypeDescription.createVarchar().withMaxLength(1024);
case BooleanType:
Expand Down

0 comments on commit 00c1519

Please sign in to comment.