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

Document optimization for LOCALFILE connector #7887

Closed
3 tasks done
YOMO-Lee opened this issue Oct 22, 2024 · 1 comment
Closed
3 tasks done

Document optimization for LOCALFILE connector #7887

YOMO-Lee opened this issue Oct 22, 2024 · 1 comment
Assignees
Labels

Comments

@YOMO-Lee
Copy link
Contributor

Search before asking

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

What happened

When I use the localfile, I need to filter some files, but the current documentation does not provide detailed instructions on how to configure the file_filter_mattern property of the connector, which has caused me to continuously fail to filter files

SeaTunnel Version

V2.3.7

SeaTunnel Config

env {
  parallelism = 1
  job.mode = "BATCH"
}

source {
  LocalFile {
    path = "/seatunnel/read/"
    file_format_type = "csv"
    skip_header_row_number = 1
    // file example abcD2024.csv
    file_filter_pattern = "abc*"
  }
}
sink {
  Console {
  }
}

Running Command

./bin/seatunnel.sh --config job/test.config -e local

Error Exception

Unable to filter out files

Zeta or Flink or Spark Version

Zeta

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@YOMO-Lee
Copy link
Contributor Author

assign to me

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

1 participant