Skip to content
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

add sql input source config and relevant IngestionSpecOptions #10

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

vzayts
Copy link

@vzayts vzayts commented Nov 30, 2023

  • Add sql input source configuration
  • Add relevant IngestionSpecOptions

Relevant druid documentation: https://druid.apache.org/docs/24.0.0/ingestion/native-batch-input-sources.html#sql-input-source

Tested: unit-tests

@vzayts vzayts added the area/core Core code related issue label Nov 30, 2023
@vzayts vzayts modified the milestone: [telemetry-druid] GA Nov 30, 2023
@vzayts vzayts marked this pull request as ready for review November 30, 2023 03:17
Copy link
Collaborator

@tomasz-h2o tomasz-h2o left a comment

Choose a reason for hiding this comment

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

thanks, couple of minor comments to address

supervisor_types.go Outdated Show resolved Hide resolved
supervisor_types.go Outdated Show resolved Hide resolved
supervisor_types.go Outdated Show resolved Hide resolved
supervisor_types.go Outdated Show resolved Hide resolved
supervisor_types_test.go Show resolved Hide resolved
"SELECT * FROM table2 WHERE timestamp BETWEEN '2013-01-01 00:00:00' AND '2013-01-01 11:59:59'",
}),
)
actual, err := json.MarshalIndent(spec, "", " ")
Copy link
Collaborator

Choose a reason for hiding this comment

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

qq: why is indentation changed?

supervisor_types.go Outdated Show resolved Hide resolved
supervisor_types_test.go Outdated Show resolved Hide resolved
supervisor_types_test.go Outdated Show resolved Hide resolved
@vzayts vzayts requested review from tomasz-h2o and zoido November 30, 2023 14:01
Copy link
Collaborator

@tomasz-h2o tomasz-h2o left a comment

Choose a reason for hiding this comment

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

LGTM, though please address #10 (comment)

@vzayts vzayts merged commit c00829b into master Nov 30, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Core code related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants