-
Notifications
You must be signed in to change notification settings - Fork 56
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
[CDAP-15361] Add feature flag for schema management #654
Conversation
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.
Please also add/update tests
wrangler-core/src/main/java/io/cdap/wrangler/utils/RowHelper.java
Outdated
Show resolved
Hide resolved
return schemaManagementEnabled; | ||
} | ||
|
||
protected class MockStageMetrics implements StageMetrics { |
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: Any reason not to use Mockito
? Much less boilerplate code
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.
Yeah that makes sense. I'd just moved the original code from the constructor to it's own class but I've used mockito now
Changes
ExecutorContext
now has a new field to check whether schema handling is enabled (set as true inServicePipelineContext
andTestingPipelineContext
)AbstractDirectiveHandler
- UI display of types (execution response)WorkspaceHandler
- generating plugin output schema in specificationTesting