-
Notifications
You must be signed in to change notification settings - Fork 237
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
Persistence Component: expose input files bytes size for Snowflake BulkLoad #3201
Conversation
@@ -22,7 +22,9 @@ public enum StatisticName | |||
ROWS_UPDATED("rowsUpdated"), | |||
ROWS_DELETED("rowsDeleted"), | |||
FILES_LOADED("filesLoaded"), | |||
ROWS_WITH_ERRORS("rowsWithErrors"); | |||
ROWS_WITH_ERRORS("rowsWithErrors"), | |||
|
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.
Extra space
|
||
public TabularData convertResultSetToTabularData(String sql, int rows) | ||
{ | ||
try |
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.
We do not need the outside try and let it throw the exception that JDBCHelper can catch
|
||
public TabularData convertResultSetToTabularData(String sql) | ||
{ | ||
try |
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.
We do not need the outside try and let it throw the exception that JDBCHelper can catch
@@ -0,0 +1,50 @@ | |||
// Copyright 2023 Goldman Sachs |
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.
Typo
import org.finos.legend.engine.persistence.components.relational.snowflake.sql.visitor.CopyVisitor; | ||
import org.finos.legend.engine.persistence.components.relational.snowflake.sql.visitor.DatasetAdditionalPropertiesVisitor; | ||
import org.finos.legend.engine.persistence.components.relational.snowflake.sql.visitor.DigestUdfVisitor; | ||
import org.finos.legend.engine.persistence.components.relational.snowflake.sql.visitor.FieldVisitor; |
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.
Looks redundant - should have already been imported
This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days. |
This PR was closed because it has been inactive for 35 days. Please re-open if this PR is still relevant. |
What type of PR is this?
Improvement
What does this PR do / why is it needed ?
Added the support to return input files bytes metrics for Snowflake during bulk load in IngestorResult
Which issue(s) this PR fixes:
Other notes for reviewers:
Change proposed by @prasar-ashutosh
Does this PR introduce a user-facing change?
Only impacts users of legend-engine-xts-persistence-component