Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [connector-elasticsearch] Cannot replace capitalized dynamic index names #8752

Open
3 tasks done
zhdech opened this issue Feb 17, 2025 · 1 comment
Open
3 tasks done
Labels

Comments

@zhdech
Copy link
Contributor

zhdech commented Feb 17, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

"sink": [
{
"plugin_name": "Elasticsearch",
"plugin_input": [
"tran_12bb61"
],
"index": "test_es_${OP_DAY}",
"partitionKey": "sys_day",
"isCache": "false",
"esModel": "",
"isCount": "false",
"hosts": [
"192.168.1.1:9200"
],
"schema_save_mode": "IGNORE",
"max_batch_size": 200
}
Cannot replace capitalized dynamic index names

SeaTunnel Version

2.3.9

SeaTunnel Config

"sink": [
    {
      "plugin_name": "Elasticsearch",
      "plugin_input": [
        "tran_12bb61"
      ],
      "index": "test_es_${OP_DAY}",
      "partitionKey": "sys_day",
      "isCache": "false",
      "esModel": "",
      "isCount": "false",
      "hosts": [
        "192.168.1.1:9200"
      ],
      "schema_save_mode": "IGNORE",
      "max_batch_size": 200
    }

Running Command

Cannot replace capitalized dynamic index names

Error Exception

The log did not report any errors, it's just that the ES index name is incorrect
test_es_${OP_DAY}

Zeta or Flink or Spark Version

No response

Java or Scala Version

java1.8

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@zhdech zhdech added the bug label Feb 17, 2025
@hailin0
Copy link
Member

hailin0 commented Feb 19, 2025

What is ${OP_DAY}?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants