Skip to content

Commit

Permalink
postgres updates to latest cdk
Browse files Browse the repository at this point in the history
  • Loading branch information
edgao committed Feb 13, 2024
1 parent c15b812 commit 4c6f0f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
airbyteJavaConnector {
cdkVersionRequired = '0.20.4'
features = ['db-destinations', 'typing-deduping', 'datastore-postgres']
useLocalCdk = false
useLocalCdk = true
}

application {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
airbyteJavaConnector {
cdkVersionRequired = '0.20.4'
features = ['db-destinations', 'datastore-postgres', 'typing-deduping']
useLocalCdk = false
useLocalCdk = true
}

application {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,20 +173,12 @@ protected List<Field<?>> extractRawDataFields(final LinkedHashMap<ColumnId, Airb
.map(column -> castedField(
extractColumnAsJson(column.getKey()),
column.getValue(),
column.getKey().name(),
useExpensiveSaferCasting))
.collect(Collectors.toList());
useExpensiveSaferCasting
).as(quotedName(column.getKey().name()))
).collect(Collectors.toList());
}

@Override
protected Field<?> castedField(
final Field<?> field,
final AirbyteType type,
final String alias,
final boolean useExpensiveSaferCasting) {
return castedField(field, type, useExpensiveSaferCasting).as(quotedName(alias));
}

protected Field<?> castedField(
final Field<?> field,
final AirbyteType type,
Expand Down

0 comments on commit 4c6f0f6

Please sign in to comment.