Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
  • Loading branch information
kevjumba committed Apr 5, 2022
commit db6cbb1bc626a4e69cbfe0611c9ccf0a5b47db00
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static FeatureTableSpec createFeatureTableSpec(
.setMaxAge(Duration.newBuilder().setSeconds(3600).build())
.setBatchSource(
DataSource.newBuilder()
.setEventTimestampColumn("ts")
.setTimestampField("ts")
.setType(DataSource.SourceType.BATCH_FILE)
.setFileOptions(
FileOptions.newBuilder()
Expand Down Expand Up @@ -204,7 +204,7 @@ public static DataSource createFileDataSourceSpec(
.setType(DataSource.SourceType.BATCH_FILE)
.setFileOptions(
FileOptions.newBuilder().setFileFormat(createParquetFormat()).setUri(fileURL).build())
.setEventTimestampColumn(timestampColumn)
.setTimestampField(timestampColumn)
.setDatePartitionColumn(datePartitionColumn)
.build();
}
Expand All @@ -215,7 +215,7 @@ public static DataSource createBigQueryDataSourceSpec(
.setType(DataSource.SourceType.BATCH_BIGQUERY)
.setBigqueryOptions(
DataSource.BigQueryOptions.newBuilder().setTableRef(bigQueryTableRef).build())
.setEventTimestampColumn(timestampColumn)
.setTimestampField(timestampColumn)
.setDatePartitionColumn(datePartitionColumn)
.build();
}
Expand All @@ -230,7 +230,7 @@ public static DataSource createKafkaDataSourceSpec(
.setBootstrapServers(servers)
.setMessageFormat(createProtoFormat("class.path"))
.build())
.setEventTimestampColumn(timestampColumn)
.setTimestampField(timestampColumn)
.build();
}

Expand Down Expand Up @@ -292,7 +292,7 @@ public static DataSource createKinesisDataSourceSpec(
.setStreamName("stream")
.setRecordFormat(createProtoFormat(classPath))
.build())
.setEventTimestampColumn(timestampColumn)
.setTimestampField(timestampColumn)
.build();
}

Expand Down