PLUGIN-74. Google Sheets. Batch source.#10
Open
dvitiiuk wants to merge 1 commit intoPLUGIN-74-google-sheets-sinkfrom
Open
PLUGIN-74. Google Sheets. Batch source.#10dvitiiuk wants to merge 1 commit intoPLUGIN-74-google-sheets-sinkfrom
dvitiiuk wants to merge 1 commit intoPLUGIN-74-google-sheets-sinkfrom
Conversation
aonischuk
suggested changes
Nov 25, 2019
docs/GoogleSheets-batchsource.md
Outdated
|
|
||
| **Skip Empty Data:** Field that allows skipping of empty structure records. | ||
|
|
||
| **Add spreadSheet/sheet name fields:** Toggle that defines if the sink extends output schema with |
There was a problem hiding this comment.
sink -> source
remove "For Yes selection the spreadSheet and sheet name fields can be specified via "
docs/GoogleSheets-batchsource.md
Outdated
|
|
||
| **Sheet field name:** Schema field name for sheet name. | ||
|
|
||
| **Column Names Selection:** Source for column names. |
docs/GoogleSheets-batchsource.md
Outdated
|
|
||
| **Column Names Selection:** Source for column names. | ||
|
|
||
| **Custom Row For Column Names:** Row number of the row to be treated as a header. |
docs/GoogleSheets-batchsource.md
Outdated
|
|
||
| **Last Data Row:** Last row number of the maximal field of plugin work for data. | ||
|
|
||
| **Read Buffer Size:** Number of rows the source reads by single API request. No newline at end of file |
docs/GoogleSheets-batchsource.md
Outdated
|
|
||
| **Last Data Column:** Last column number of the maximal field of plugin work for data. | ||
|
|
||
| **Last Data Row:** Last row number of the maximal field of plugin work for data. |
| public static int getNumberOfColumn(String columnName) { | ||
| int sum = 0; | ||
| final int base = 26; | ||
| final int sub = 64; |
There was a problem hiding this comment.
no magic numbers. Add a private static final with a comment.
| "label": "First Header Row", | ||
| "name": "firstHeaderRow", | ||
| "widget-attributes": { | ||
| "default": "-1", |
There was a problem hiding this comment.
is it possible to make it null default instead?
| { | ||
| "name": "Select modification date range", | ||
| "condition": { | ||
| "expression": "modificationDateRange == 'custom'" |
There was a problem hiding this comment.
if possible we should always use "equalTo" or other predefined checks.
https://github.com/data-integrations/http/blob/06fca99995efac5f7f15147b5489dd3c493316a3/widgets/HTTP-batchsource.json#L523
| { | ||
| "name": "Authenticate with OAuth2", | ||
| "condition": { | ||
| "expression": "authType == 'oAuth2'" |
| private Schema dataSchema; | ||
| private List<ColumnComplexSchemaInfo> subColumns = new ArrayList<>(); | ||
|
|
||
| public ColumnComplexSchemaInfo(String headerTitle/*, int index*/, Schema dataSchema) { |
324a80f to
7e4f904
Compare
391f45e to
8621057
Compare
7e4f904 to
a5408f3
Compare
8335306 to
a340cb9
Compare
a5408f3 to
ce1a6cc
Compare
a340cb9 to
4625204
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Doc: https://wiki.cask.co/display/CE/Google+Sheets+plugins
Jira: https://issues.cask.co/browse/PLUGIN-74
Batch source for Google Sheets.