-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Improve][Connector-V2] Change read excel util from POI to EasyExcel #8064
Open
dwave
wants to merge
28
commits into
apache:dev
Choose a base branch
from
dwave:bugfix-large-excel
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+725
−54
Open
Changes from 12 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
6f3bdc1
bugfix read more than 65000 rows excle oom,change poi to easyexcel
dwave 90c2429
rollbak bin
dwave 5b43718
修改注释
dwave 41a8376
代码检查调整
dwave 3145657
读取方式切换为inputStream
dwave eec6dcf
Add matching format types for DateTime and DateTime classes
dwave 7efacad
Added matching time format based on time string, and fixed the proble…
dwave 8184f0a
Code formatting adjustments
dwave eca2c5d
Allows user-defined time formatting configuration
dwave 7246245
change code style
dwave 366d052
Modify the test case to reduce the test data set
dwave 2151c94
change code style
dwave c428f1a
remove date_format config in
dwave a523335
if don't have SHEET_NAME , read sheet0
dwave c4eac91
if don't have SHEET_NAME , read sheet0
dwave 98f20ac
add e2e.xls test case ,add matchTimeFormatter,fix cellData NullPointE…
dwave bbb39ea
code style
dwave c384fa1
Update seatunnel-connectors-v2/connector-file/connector-file-base/src…
dwave e778ab0
add JsonProcessingException
dwave c5dc517
TODO xls can't read
dwave 91958d7
back to EasyExcel
dwave 7c60b9e
add EXCEL_ENGIN config
dwave ff4f95f
add EXCEL_ENGIN config
dwave 85cb62b
add EXCEL_ENGIN config
dwave 9c58b0f
Merge remote-tracking branch 'origin/dev' into bugfix-large-excel
dwave c3a1568
marge
dwave 5d106b2
Support read blank string
dwave 2f8aac1
Support read blank string
dwave File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we all know, easyexcel is no longer maintained. It doesn't seem good to introduce it at this time. We can try other alternatives, such as fastexcel. There are also reports online that it is faster than easyexcel. What do you think? cc @hailin0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or easyexcel-plus?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will give it a try
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
easyexcel-plus was only on GitHub last night, and I haven't seen it in the maven repository yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried using fastexcel, but there is a problem with its xls support for excel97-2003
dhatim/fastexcel#287
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will there be any conflict between poi versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use poi version in easyexcel for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the meaning of it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can set poi version in https://github.com/apache/seatunnel/pull/8064/files#diff-1fb7018c76d4a71faced6c343bcbff3a7d20464c8c9f80338fa2a50e57fae254R142 consistent with that in easyexcel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a configuration item for excel reading to select the engine for excel reading. POI is used by default. EaseExcel can be used through configuration. The configuration item name is excel_engine.