Skip to content

Commit

Permalink
Avoid handling JSON_ARRAY as multi value JSON during transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
shounakmk219 committed Jan 2, 2025
1 parent 397fd98 commit 289b433
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,10 @@ public GenericRow extract(Map<String, Object> from, GenericRow to) {
}
return to;
}

@Override
protected boolean isMultiValue(Object value) {
// multi value JSON is treated as JSON_ARRAY hence it's never a multi value column
return false;
}
}

0 comments on commit 289b433

Please sign in to comment.