Skip to content

Commit

Permalink
Fix recover index IT
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Dai <[email protected]>
  • Loading branch information
dai-chen committed Nov 9, 2023
1 parent 6e511c1 commit c73906a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ class FlintSparkIndexJobSqlITSuite extends FlintSparkSuite with Matchers {
assertion
.run { checkpointDir =>
s""" CREATE INDEX $testIndex ON $testTable
| (time, name)
| (timestamp, name)
| WITH (
| auto_refresh = true,
| id_expression = 'timestamp',
| checkpoint_location = '${checkpointDir.getAbsolutePath}'
| )
|""".stripMargin
Expand All @@ -94,6 +95,7 @@ class FlintSparkIndexJobSqlITSuite extends FlintSparkSuite with Matchers {
| $testMvQuery
| WITH (
| auto_refresh = true,
| id_expression = 'name',
| checkpoint_location = '${checkpointDir.getAbsolutePath}'
| )
|""".stripMargin
Expand Down

0 comments on commit c73906a

Please sign in to comment.