[Fix][Doc] Fix LocalFile doc (#7887)#7890
Closed
YOMO-Lee wants to merge 6 commits intoapache:devfrom
YOMO-Lee:dev
Closed
[Fix][Doc] Fix LocalFile doc (#7887)#7890YOMO-Lee wants to merge 6 commits intoapache:devfrom YOMO-Lee:dev
YOMO-Lee wants to merge 6 commits intoapache:devfrom
YOMO-Lee:dev
Conversation
Hisoka-X
reviewed
Oct 24, 2024
Comment on lines
+257
to
+261
| The filtering format is similar to wildcard matching file names in Linux. | ||
|
|
||
| However, it should be noted that unlike Linux wildcard characters, when encountering file suffixes, the middle dot cannot be omitted. | ||
|
|
||
| For example, `abc20241022.csv`, the normal Linux wildcard `abc*` is sufficient, but here we need to use `abc*.*` , Pay attention to a point in the middle. |
Member
There was a problem hiding this comment.
Suggested change
| The filtering format is similar to wildcard matching file names in Linux. | |
| However, it should be noted that unlike Linux wildcard characters, when encountering file suffixes, the middle dot cannot be omitted. | |
| For example, `abc20241022.csv`, the normal Linux wildcard `abc*` is sufficient, but here we need to use `abc*.*` , Pay attention to a point in the middle. | |
| Matching rules use regular expression rules. |
I think we should tell user what rules we follow.
Contributor
Author
There was a problem hiding this comment.
我觉得只说正则,用户容易产生疑问,比如我,用了正则一直不生效,最好有个例子
Member
There was a problem hiding this comment.
Yes, we can add some demo, but we should tell user what rules we follow at first. Please go ahead and add some demo. For example:
File Structure Example:
/project/documents/report.txt
/project/documents/notes.txt
/project/data/input.csv
/project/data/processed/output.csv
/project/data/archive/old_data.csv
/project/images/logo.png
/project/scripts/script.sh
/project/scripts/utils/helpers.sh
Matching Rules Example:
Example 1: Match all .txt files
Regular Expression:
.*/.*\.txt$
Example 2:
1、When the ClickHouse connector is set to multi parallelism, the task extraction is completed but cannot be stopped normally [(#7897)](#7897) 2、Added E2E test cases for this issue [(#7897)](#7897) 3、Local developers want to observe **Job Progress Information** in a timely manner, Need to modify the following configuration.The configuration in config is invalid ``` seatunnel engine/seatunnel-engineer-common/src/main/resources/seatunnely.yaml ```
1、When the ClickHouse connector is set to multi parallelism, the task extraction is completed but cannot be stopped normally [(#7897)](#7897) 2、Added E2E test cases for this issue [(#7897)](#7897) 3、Local developers want to observe **Job Progress Information** in a timely manner, Need to modify the following configuration.The configuration in config is invalid ``` seatunnel engine/seatunnel-engineer-common/src/main/resources/seatunnely.yaml ```
1、When the ClickHouse connector is set to multi parallelism, the task extraction is completed but cannot be stopped normally [(#7897)](#7897) 2、Added E2E test cases for this issue [(#7897)](#7897) 3、Local developers want to observe **Job Progress Information** in a timely manner, Need to modify the following configuration.The configuration in config is invalid ``` seatunnel engine/seatunnel-engineer-common/src/main/resources/seatunnely.yaml ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supplement and optimize the description of the LocalFile connector on filtering files (#7887)
Supplement and optimize the explanation and description of the LocalFile connector regarding file filtering