Skip to content

Commit

Permalink
Fix Bug in Trino Map ValueType
Browse files Browse the repository at this point in the history
valueType() should return the valueType instead of the keytype of the map
  • Loading branch information
dihu-linkedin authored Jan 12, 2024
1 parent 0acb185 commit efe7dbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public StdType keyType() {

@Override
public StdType valueType() {
return TrinoWrapper.createStdType(mapType.getKeyType());
return TrinoWrapper.createStdType(mapType.getValueType());
}

@Override
Expand Down

0 comments on commit efe7dbd

Please sign in to comment.