Skip to content

PLUGIN-74. Google Sheets. Batch source.#10

Open
dvitiiuk wants to merge 1 commit intoPLUGIN-74-google-sheets-sinkfrom
PLUGIN-74-google-sheets-source
Open

PLUGIN-74. Google Sheets. Batch source.#10
dvitiiuk wants to merge 1 commit intoPLUGIN-74-google-sheets-sinkfrom
PLUGIN-74-google-sheets-source

Conversation

@dvitiiuk
Copy link
Owner


**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

Choose a reason for hiding this comment

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

sink -> source

remove "For Yes selection the spreadSheet and sheet name fields can be specified via "

Copy link
Owner Author

Choose a reason for hiding this comment

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

done


**Sheet field name:** Schema field name for sheet name.

**Column Names Selection:** Source for column names.

Choose a reason for hiding this comment

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

more details.

Copy link
Owner Author

Choose a reason for hiding this comment

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

done


**Column Names Selection:** Source for column names.

**Custom Row For Column Names:** Row number of the row to be treated as a header.

Choose a reason for hiding this comment

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

"Number of the row"

Copy link
Owner Author

Choose a reason for hiding this comment

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

done


**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

Choose a reason for hiding this comment

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

by -> with a

Copy link
Owner Author

Choose a reason for hiding this comment

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

done


**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.

Choose a reason for hiding this comment

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

Last row plugin will read.

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

public static int getNumberOfColumn(String columnName) {
int sum = 0;
final int base = 26;
final int sub = 64;

Choose a reason for hiding this comment

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

no magic numbers. Add a private static final with a comment.

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

"label": "First Header Row",
"name": "firstHeaderRow",
"widget-attributes": {
"default": "-1",

Choose a reason for hiding this comment

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

is it possible to make it null default instead?

Copy link
Owner Author

Choose a reason for hiding this comment

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

for what?

{
"name": "Select modification date range",
"condition": {
"expression": "modificationDateRange == 'custom'"

Choose a reason for hiding this comment

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

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

{
"name": "Authenticate with OAuth2",
"condition": {
"expression": "authType == 'oAuth2'"

Choose a reason for hiding this comment

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

same for others

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

private Schema dataSchema;
private List<ColumnComplexSchemaInfo> subColumns = new ArrayList<>();

public ColumnComplexSchemaInfo(String headerTitle/*, int index*/, Schema dataSchema) {

Choose a reason for hiding this comment

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

remove the comment.

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

@dvitiiuk dvitiiuk force-pushed the PLUGIN-74-google-sheets-sink branch 3 times, most recently from 324a80f to 7e4f904 Compare November 25, 2019 18:48
@dvitiiuk dvitiiuk force-pushed the PLUGIN-74-google-sheets-source branch 4 times, most recently from 391f45e to 8621057 Compare November 26, 2019 21:10
@dvitiiuk dvitiiuk force-pushed the PLUGIN-74-google-sheets-sink branch from 7e4f904 to a5408f3 Compare November 26, 2019 21:22
@dvitiiuk dvitiiuk force-pushed the PLUGIN-74-google-sheets-source branch 2 times, most recently from 8335306 to a340cb9 Compare November 26, 2019 21:27
@dvitiiuk dvitiiuk force-pushed the PLUGIN-74-google-sheets-sink branch from a5408f3 to ce1a6cc Compare November 26, 2019 21:28
@dvitiiuk dvitiiuk force-pushed the PLUGIN-74-google-sheets-source branch from a340cb9 to 4625204 Compare November 26, 2019 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants