-
Notifications
You must be signed in to change notification settings - Fork 11
PLUGIN-1940 : Support Array Type #132
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
base: develop
Are you sure you want to change the base?
Conversation
…from ServiceNowColumn
| try { | ||
| if (results == null) { | ||
| fetchData(); | ||
| fetchData(false); |
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.
why is this false always
|
|
||
| private void fetchData() throws ServiceNowAPIException { | ||
| private void fetchData(Boolean enableNewDataTypes) throws ServiceNowAPIException { | ||
| this.enableNewDataTypes = enableNewDataTypes; |
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.
where are we using this
| for (Schema.Field field : tableFields) { | ||
| String fieldName = field.getName(); | ||
| ServiceNowRecordConverter.convertToValue(fieldName, field.getSchema(), row, recordBuilder); | ||
| ServiceNowRecordConverter.convertToValue(fieldName, field.getSchema(), row, recordBuilder, |
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.
is this passed by DTS separately because everytime it seems like it is false
PLUGIN-1940
This change introduces support for mapping ServiceNow
glide_listfields to BigQueryARRAY<STRING>types in the ServiceNow CDAP plugin.New Flag added:
enableNewDataTypesIf this flag is true, then the fields with
glide_listtype are mapped to Array of Strings in BigQuery, otherwise, it is mapped to StringNote: There was no option to specify base type while defining List as the type of a column in ServiceNow.