-
Notifications
You must be signed in to change notification settings - Fork 168
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
Added hive support #1313
Added hive support #1313
Conversation
dependency itself was updated in the common library, here I just fixed code.
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.
Failed cohort generation on Hive:
java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [CREATE TEMPORARY TABLE results.xehkngqvfinal_cohort
AS SELECT
person_id, min(start_date) as start_date, end_date
FROM
cteEnds
group by person_id, end_date
]; nested exception is org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException [Error 10004]: Line 7:20 Invalid table alias or column reference 'end_date': (possible column names are: person_id, start_date, era_end_date)
I would like to share cohort design in a separate comment.
|
One more exception while opening "Condition Eras" Heracles report:
|
CohortCharaterization failed:
|
One more issue with Profiles:
|
- add check for for empty dialect variable.
count_value bigint, | ||
last_update_time timestamp | ||
) | ||
PARTITIONED BY(cohort_definition_id int) |
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.
Let's use HINT DISTRIBUTE_ON_KEY
and HINT SORT_ON_KEY
and get rid off the separate SQL file for Hive
…sue-1168-hive-support # Conflicts: # src/main/java/org/ohdsi/webapi/executionengine/service/AnalysisResultFileContentSensitiveInfoServiceImpl.java
@olga-ganina please assign this review to a member of the team. Thanks! |
was merged in #1418 |
FIxes #1168