Skip to content

Commit a35315e

Browse files
committed
Fixing partition spec column setting in table deps
1 parent 7413cde commit a35315e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/scala/ai/chronon/api/planner/TableDependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ object TableDependencies {
6060
.setTableInfo(
6161
new TableInfo()
6262
.setTable(jp.groupBy.metaData.outputTable)
63-
.setPartitionColumn("dt")
63+
.setPartitionColumn(spec.column)
6464
.setPartitionFormat(spec.format)
6565
.setPartitionInterval(WindowUtils.hours(spec.spanMillis))
6666
)

0 commit comments

Comments
 (0)