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

update cloud trail integration with flint-s3 based DDL assets and das… #1701

Merged

Conversation

YANG-DB
Copy link
Member

@YANG-DB YANG-DB commented Apr 16, 2024

Description

update cloud trail integration with flint-s3 based DDL assets and dashboard

  • DDL create table statement
  • Create MV query

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@YANG-DB YANG-DB added backport 2.x integrations Used to denote items related to the Integrations project ux-integration ux related integration issues labels Apr 16, 2024
WITH (
auto_refresh = true,
checkpoint_location = '{s3_checkpoint_location}',
watermark_delay = '1 day',
Copy link
Member

Choose a reason for hiding this comment

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

Should we be using 1 day? I believe most, if not all, of our MV definitions are using 1 minute.

Copy link
Collaborator

Choose a reason for hiding this comment

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

^ +1

"version": "1.0.0",
"extension": "sql",
"type": "query",
"workflows": ["dashboards-flint"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

In other integrations I think create table isn't bounded to any workflow

Copy link
Member Author

Choose a reason for hiding this comment

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

it should be since in the future SQL can both be used internally (index query) or externally (flint spark query)

@YANG-DB YANG-DB requested a review from seankao-az April 16, 2024 19:48
@YANG-DB YANG-DB added the enhancement New feature or request label Apr 16, 2024
@seankao-az
Copy link
Collaborator

@YANG-DB YANG-DB merged commit bccdc31 into opensearch-project:main Apr 16, 2024
14 of 19 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 16, 2024
#1701)

* update cloud trail integration with flint-s3 based DDL assets and dashboard

Signed-off-by: YANGDB <[email protected]>

* update time field using CAST to TIMESTAMP

Signed-off-by: YANGDB <[email protected]>

* update separate flint dashboard support and workflow

Signed-off-by: YANGDB <[email protected]>

* update separate flint dashboard support and workflow

Signed-off-by: YANGDB <[email protected]>

* update separate flint dashboard support and workflow

Signed-off-by: YANGDB <[email protected]>

* update refresh sync rate

Signed-off-by: YANGDB <[email protected]>

---------

Signed-off-by: YANGDB <[email protected]>
(cherry picked from commit bccdc31)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@@ -0,0 +1,54 @@
CREATE MATERIALIZED VIEW {table_name}_mview AS
Copy link
Collaborator

Choose a reason for hiding this comment

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

__mview instead of _mview

RyanL1997 pushed a commit to RyanL1997/dashboards-observability that referenced this pull request Apr 18, 2024
…opensearch-project#1701)

Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: Darshit Chanpura <[email protected]>
(cherry picked from commit 6374198119fcb2b33343460a3d2fdfcb44794f30)

Co-authored-by: Craig Perkins <[email protected]>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
opensearch-project#1701)

* update cloud trail integration with flint-s3 based DDL assets and dashboard

Signed-off-by: YANGDB <[email protected]>

* update time field using CAST to TIMESTAMP

Signed-off-by: YANGDB <[email protected]>

* update separate flint dashboard support and workflow

Signed-off-by: YANGDB <[email protected]>

* update separate flint dashboard support and workflow

Signed-off-by: YANGDB <[email protected]>

* update separate flint dashboard support and workflow

Signed-off-by: YANGDB <[email protected]>

* update refresh sync rate

Signed-off-by: YANGDB <[email protected]>

---------

Signed-off-by: YANGDB <[email protected]>
(cherry picked from commit bccdc31)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x enhancement New feature or request integrations Used to denote items related to the Integrations project ux-integration ux related integration issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants