-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Spark 3.3, 3.4: use a deterministic where condition to make rewrite_data_files… #6760
Merged
szehon-ho
merged 46 commits into
apache:master
from
ludlows:rewritr_data_file-exit-where-false
May 20, 2023
Merged
Changes from 5 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
22b8722
spark: use a deterministic where condition to make rewrite_data_files…
ludlows f579cc7
Spark 3.3: Let rewrite_data_files exit without exceptions if where co…
ludlows 6da89af
Merge branch 'master' into rewritr_data_file-exit-where-false
ludlows 8e09dac
add a test case for the PR #6760 (use a deterministic where condition…
ludlows f67abe2
modified the PR #6760 by changing return type of function collectReso…
ludlows a27bf48
using the right indentation to pass the coding style check
ludlows 1aa2838
add '{}'s for the 'if' statement
ludlows f31e4e3
change the indentation for the code style check in RewriteDataFilesPr…
ludlows 304e52a
remove AnalysisException annotation
ludlows 99f91c8
remove try-catch block for AnalysisException since it is not raised b…
ludlows 54ebdc5
remove unused import statement
ludlows 38145a6
update to pass java code style check
ludlows ed35030
provide helper function `filter` to get spark expression
ludlows 24bdd88
leave a more precise comment to explain why we can terminate immediat…
ludlows 4198b5f
function used to check if the spark expression is a deterministic tru…
ludlows e98a6e0
adapt procedure once we can distinguish the deterministic false and true
ludlows b8770b1
add 2 test cases for the rewrite_data_files procedure
ludlows 22f0e83
Merge branch 'master' of https://github.com/ludlows/iceberg
5570ed0
change to pass coding style check
6d5b660
change CRLF to LF
7d446e6
raise AnalysisException in the test case
ludlows 47a8359
raise IllegalArgumentException in the test case
ludlows e865f06
Avoid block imports in Scala
dc45f3d
coding style check
9a5d87d
remove REMOVED_FILE_SIZE_PROP check
24aa16a
Merge branch 'apache:master' into master
ludlows a298b97
Merge branch 'apache:master' into master
ludlows 26c8aec
Merge branch 'apache:master' into master
ludlows d433101
use optimizedLogicalPlan.containsChild to check if a sparkExpression …
ludlows 5faac1e
use collectResolvedIcebergExpression directly to get less changes
ludlows 4a026d3
using match case
ludlows b600d11
collectSparkExpressionOption
ludlows 5bbb179
change the way to distinguish alwaysTrue, alwaysFalse and undetermined
ludlows 31588fe
Merge branch 'master' into rewritr_data_file-exit-where-false
ludlows 0a4d2c2
verify rewritten bytes
ludlows 2451995
format fix
ludlows 5fc3614
Merge branch 'master' into rewritr_data_file-exit-where-false
ludlows fa865e8
we do not verify rewritten bytes since the number of rewritten files …
ludlows 3b0c395
collectResolvedSparkExpression
ludlows bf413e1
format fix
ludlows 0408626
remove checks for REMOVED_FILE_SIZE_PROP
ludlows e69ebdb
Merge branch 'apache:master' into master
ludlows c006716
remove unnecessary import
ludlows d500fe4
spark 3.4 implementation
ludlows 02e2f76
format fix in TestRewriteDataFilesProcedure.java
ludlows 63dfe2f
result output of rewriteDataFiles procedure has 4 elements in spark 3.4
ludlows 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
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.
Is this un-intentional?
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.
it seems that we do not need this import statement. so i remove it here.