Skip to content

Commit

Permalink
Add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-wtrefon committed Oct 15, 2024
1 parent 9c1fb0a commit 205f928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public SnowflakeStreamingIngestClient createClient(

private static void enableIceberg(SnowflakeStreamingIngestClientFactory.Builder builder) {
try {
// TODO reflection should be replaced by proper builder.setIceberg(true) call in SNOW-1728002
FieldUtils.writeField(builder, "isIceberg", true, true);
} catch (IllegalAccessException e) {
throw new IllegalStateException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ private Map<String, Object> processSnowflakeRecord(SnowflakeTableRow row)

private Map<String, Object> processIcebergRecord(SnowflakeTableRow row)
throws JsonProcessingException {
// TODO this not cover all cases, full implementation will be done in SNOW-1737840
final Map<String, Object> streamingIngestRow = new HashMap<>();
for (JsonNode node : row.content.getData()) {
if (enableSchematization) {
Expand Down

0 comments on commit 205f928

Please sign in to comment.