Skip to content

Commit

Permalink
[branch-1.2](complex type) forbid MAP type and STRUCT type in v1.2 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cambyzju authored Jun 19, 2024
1 parent 71596e9 commit af3bf67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ public Type getValueType() {
return valueType;
}

@Override
public boolean isSupported() {
return false;
}

@Override
public boolean equals(Object other) {
if (!(other instanceof MapType)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ public StructType() {
fields = Lists.newArrayList();
}

@Override
public boolean isSupported() {
return false;
}

@Override
public String toSql(int depth) {
if (depth >= MAX_NESTING_DEPTH) {
Expand Down

0 comments on commit af3bf67

Please sign in to comment.