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.
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: Adding simple custom partition sort order option to RewriteManifests Spark Action #9731
base: main
Are you sure you want to change the base?
Spark: Adding simple custom partition sort order option to RewriteManifests Spark Action #9731
Changes from 1 commit
10f8e2a
383b74b
11fd224
8af6a2a
cf4959f
6281aad
765d71f
46ed80d
9e849f2
3c7f0fd
4a11561
5905bc2
dd8efd0
5698814
cc019cc
792b930
4c8c8b7
b83e337
f72dce4
f75a824
8f26282
73b537d
7945cc1
16a484e
b9e4f68
62def97
bf13ae6
2a7aa6f
e35dbdf
c72c076
c135c99
fc8175c
39ae45b
a8cf77e
e6e01f0
1f4d2d7
19e6183
d04e26f
eb0357c
08ff755
5ef7b98
ccb61cc
ebe0bd3
d9bbfc1
d5696ae
88a627a
6174869
e86b4da
7f17587
e25760f
3db0af3
d6f7998
124cc47
cc0d173
bbeee79
9f16d34
b28e095
1b22346
fc615f6
24c2f93
a115297
ad35017
7ef6e26
bedb897
7ad2243
0711a2a
28c4c50
e0cad0d
0a88b15
34a7002
b3723a6
2ddb804
4003248
6330040
90bc87e
0dd8015
2010347
d153c54
fc85962
caa6ee9
f586b96
75dc410
9cd378d
3cafd79
b10b709
24f1b1c
2c3a1d6
0f1fb70
7217d8c
906e0e5
2ff5361
7e6ce6a
d33155b
12b9c70
04ed219
ec81acf
f356cf4
f5764be
ffaf39a
d6aa472
b7bfed1
30123ed
65c18f5
268689f
fa9a6e1
00ceb37
bba0b16
246c505
eb3d4e0
f9c0832
877cd69
8341dae
85c789e
7bea331
e345525
ce560b6
72cddd9
a8b5d57
eab800d
d18c751
7394d2a
7d33358
0701c59
4f414d8
4cd801e
7bac716
01aac10
261f892
3b8a130
fa58d48
9f1f99b
68c2eb1
823492b
7e84055
9fd170c
0c0dce9
3dc56a3
abf9732
28eb1b9
90864fe
6578428
da1ae35
aee6154
276ab4d
5edf143
121df4a
1442e7f
8dbbac1
620f3da
9d95e62
a0eec4e
317f2ce
892251f
0b98372
6810d00
bab521e
a1ad2e0
50e02a4
c288f93
cbd59b1
7ebaa2a
8bb129d
9d61251
a5837b6
fd83be4
4d11d5b
1fdf846
613227e
2702a27
33586ec
70473a4
3bc8f4a
e222727
cfc3b63
7c25b27
29fb251
d91dfae
354ef17
e09ce27
977d2ec
c186ff7
8b85536
721faae
03ec03f
815e384
4d2452c
d55dceb
e9f0ba1
7583238
ff06e72
dc83b48
e52a2a1
1db36dc
8ec88db
a7e51b4
c1a432d
d150f95
3870e5c
a139d6c
aa97326
45ec035
6f73270
4134bb6
67950d9
ab574ea
c228d16
2698e01
5d1c32a
53603ec
6b29e5a
05cee15
28c4ae5
57be178
91dd581
0d90172
beb590f
11f2ea0
ff95425
cdb3413
a197495
2c78118
d7ef1f0
45cf8b7
d406604
78daca8
3300d3c
e68434c
e18c55d
97ceb53
8a0c301
47004f0
0403c4b
07f3d03
f70af7c
3391d3d
2d49363
cea11cc
ace1ce1
8dc8996
d040408
cffdb7e
5d7363c
2d54279
b8f164f
6dac99b
bd6049d
4548bd7
534f99e
37e4ed2
1659e49
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
nit: we follow
public static final
->private static final
->private final
->private
to order variablesThere 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 a problem? I have these attributes as being set to
null
but able to be redefined. So I thinkprivate
is correct here, its inline with the other attributes in this class. I do have this attribute in the wrong place though, moving in next rev.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.
Noting - if the user changes/specifies the
spec()
after this check has been done, we may wish to re-check this setup?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'm not sure I understand the comment here?
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.
Say there are 2 partition specs for this table. Spec1 partitions by (
a_bucket, b
), Spec2 partitions by (a_bucket_100, c_days
). If you originally pass a validsort(b, a)
, then change the.specId
to 2, then the validated custom column order will now be inaccurate.