-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #647 from jvalue/641-leading-whitespace
[BUG] Enable `TableInterpreter` to trim leading and trailing whitespace
- Loading branch information
Showing
7 changed files
with
166 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Binary file added
BIN
+6.05 KB
.../extensions/tabular/exec/test/assets/table-interpreter-executor/test-with-whitespace.xlsx
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...ons/tabular/exec/test/assets/table-interpreter-executor/test-with-whitespace.xlsx.license
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SPDX-FileCopyrightText: 2025 Friedrich-Alexander-Universitat Erlangen-Nurnberg | ||
|
||
SPDX-License-Identifier: AGPL-3.0-only |
25 changes: 25 additions & 0 deletions
25
.../tabular/exec/test/assets/table-interpreter-executor/valid-without-header-without-trim.jv
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// SPDX-FileCopyrightText: 2025 Friedrich-Alexander-Universitat Erlangen-Nurnberg | ||
// | ||
// SPDX-License-Identifier: AGPL-3.0-only | ||
|
||
pipeline TestPipeline { | ||
|
||
block TestExtractor oftype TestSheetExtractor { } | ||
|
||
block TestBlock oftype TableInterpreter { | ||
header: false; | ||
columns: [ | ||
"index" oftype integer, | ||
"name" oftype text, | ||
"flag" oftype boolean | ||
]; | ||
skipLeadingWhitespace: false; | ||
skipTrailingWhitespace: false; | ||
} | ||
|
||
block TestLoader oftype TestTableLoader { } | ||
|
||
TestExtractor | ||
-> TestBlock | ||
-> TestLoader; | ||
} |
This file contains 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