Skip to content

Commit

Permalink
Modify error message wording
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Dai <[email protected]>
  • Loading branch information
dai-chen committed Oct 31, 2024
1 parent b4db195 commit 5f14bc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ case class FlintSparkMaterializedView(
Some(agg, attr)
case _ =>
throw new IllegalArgumentException(
s"Tumble function only supports time column, but found: $timeCol")
s"Tumble function only supports simple timestamp column, but found: $timeCol")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ class FlintSparkMaterializedViewSqlITSuite extends FlintSparkSuite {
|""".stripMargin)
}
ex.getCause should have message
"Tumble function only supports time column, but found: cast('timestamp as timestamp)"
"Tumble function only supports simple timestamp column, but found: cast('timestamp as timestamp)"
}
}
}
Expand Down

0 comments on commit 5f14bc8

Please sign in to comment.