-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Postgres normalization #831
Conversation
@@ -43,7 +43,7 @@ | |||
|
|||
private static final Logger LOGGER = LoggerFactory.getLogger(DefaultNormalizationRunner.class); | |||
|
|||
public static final String NORMALIZATION_IMAGE_NAME = "airbyte/normalization:0.1.0"; | |||
public static final String NORMALIZATION_IMAGE_NAME = "airbyte/normalization:dev"; |
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.
Shouldn't this be in some config files or based on env variables so we can switch from dev mode to prod easily or something?
{% macro json_extract(json_column, json_path) -%} | ||
{{ adapter.dispatch('json_extract')(json_column, json_path) }} | ||
{% macro json_extract(json_column, json_path_list) -%} | ||
{{ adapter.dispatch('json_extract')(json_column, format_path(json_path_list)) }} |
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.
This is the call to the adapter.dispatch
function, it shouldn't need to make the call to format_path
right?
(you didn't do so on the other variants of the macro either)
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.
correct, I think it shouldn't need a format_path call
What
Remaining items
PostgresDestination.java#close
for context on how we replace tables.