Skip to content

Commit

Permalink
Provide better default for SUPPORTS_RENAME_MATERIALIZED_VIEW behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Nov 18, 2022
1 parent 8ad35c0 commit fb6f23f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ protected boolean hasBehavior(TestingConnectorBehavior connectorBehavior)
return true;

case SUPPORTS_CREATE_MATERIALIZED_VIEW:
case SUPPORTS_RENAME_MATERIALIZED_VIEW:
return true;
case SUPPORTS_RENAME_MATERIALIZED_VIEW_ACROSS_SCHEMAS:
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public enum TestingConnectorBehavior
SUPPORTS_CREATE_VIEW(false),

SUPPORTS_CREATE_MATERIALIZED_VIEW(false),
SUPPORTS_RENAME_MATERIALIZED_VIEW(false),
SUPPORTS_RENAME_MATERIALIZED_VIEW(SUPPORTS_CREATE_MATERIALIZED_VIEW),
SUPPORTS_RENAME_MATERIALIZED_VIEW_ACROSS_SCHEMAS(SUPPORTS_RENAME_MATERIALIZED_VIEW),

SUPPORTS_INSERT,
Expand Down

0 comments on commit fb6f23f

Please sign in to comment.