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 1, 2024
1 parent 38b5a37 commit 62d1d26
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 @@ -9,7 +9,7 @@ airbyteJavaConnector {
'db-sources', // required for tests
'db-destinations'
]
useLocalCdk = false
useLocalCdk = true
}

//remove once upgrading the CDK version to 0.4.x or later
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ airbyteJavaConnector {
'db-sources', // required for tests
'db-destinations',
]
useLocalCdk = false
useLocalCdk = true
}

//remove once upgrading the CDK version to 0.4.x or later
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,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 62d1d26

Please sign in to comment.