Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public boolean isComplexJoinPushdownEnabled()
return complexJoinPushdownEnabled;
}

@Deprecated
@Config("deprecated.join-pushdown.with-expressions")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs approval from @kokosing per #27619 (comment)

@Deprecated(forRemoval = true)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Airlift has a checker that if the setter is @Deprecated , the getter is also deprecated.
That's why both are deprecated. Let's mark both with forRemoval for consistency.

@Config("join-pushdown.with-expressions")
@ConfigDescription("Enable join pushdown with complex expressions")
public JdbcMetadataConfig setComplexJoinPushdownEnabled(boolean complexJoinPushdownEnabled)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void testExplicitPropertyMappings()
Map<String, String> properties = ImmutableMap.<String, String>builder()
.put("complex-expression-pushdown.enabled", "false")
.put("join-pushdown.enabled", "true")
.put("deprecated.join-pushdown.with-expressions", "false")
.put("join-pushdown.with-expressions", "false")
.put("aggregation-pushdown.enabled", "false")
.put("jdbc.bulk-list-columns.enabled", "true")
.put("domain-compaction-threshold", "42")
Expand Down