Skip to content

Commit

Permalink
[hotfix] Fix RemoveOrphanFilesProcedure parallelism error
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Sep 11, 2024
1 parent 6c7f32c commit 0ff226b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public String[] call(
String tableName = identifier.getObjectName();

Map<String, String> dynamicOptions =
!StringUtils.isNullOrWhitespaceOnly(parallelism)
StringUtils.isNullOrWhitespaceOnly(parallelism)
? Collections.emptyMap()
: new HashMap<String, String>() {
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

/** Ensure that the legacy multiply overloaded CALL with positional arguments can be invoked. */
public class ProcedurePositionalArgumentsITCase extends CatalogITCaseBase {

@Test
public void testCompactDatabaseAndTable() {
sql(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public String[] call(
String tableName = identifier.getObjectName();

Map<String, String> dynamicOptions =
!StringUtils.isNullOrWhitespaceOnly(parallelism)
StringUtils.isNullOrWhitespaceOnly(parallelism)
? Collections.emptyMap()
: new HashMap<String, String>() {
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public InternalRow[] call(InternalRow args) {
String tableId = args.getString(0);
String parallelism = args.isNullAt(3) ? null : args.getString(3);
Map<String, String> dynamicOptions =
!StringUtils.isNullOrWhitespaceOnly(parallelism)
StringUtils.isNullOrWhitespaceOnly(parallelism)
? Collections.emptyMap()
: new HashMap<String, String>() {
{
Expand Down

0 comments on commit 0ff226b

Please sign in to comment.