Skip to content

Commit d20e287

Browse files
committed
adjusting settings to match that of opensearch index settings
Signed-off-by: Dennis Toepker <[email protected]>
1 parent e5807a5 commit d20e287

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spark-sql-application/src/main/scala/org/apache/spark/sql/FlintJobExecutor.scala

+3-2
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,9 @@ trait FlintJobExecutor {
396396
logInfo(s"create $resultIndex")
397397
val fastRefreshSettings =
398398
""" {
399-
| "auto_refresh": "true",
400-
| "refresh_interval": "1 Second",
399+
| "index": {
400+
| "refresh_interval": "1s"
401+
| }
401402
| }
402403
|""".stripMargin
403404
osClient.createIndex(resultIndex, mapping, fastRefreshSettings)

0 commit comments

Comments
 (0)