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

How to find tmp_concept data file? #24

Open
Kisooofficial opened this issue Mar 6, 2023 · 2 comments
Open

How to find tmp_concept data file? #24

Kisooofficial opened this issue Mar 6, 2023 · 2 comments

Comments

@Kisooofficial
Copy link

I have an error in vocabulary_refresh.py step 12~13
image
I can't find any tmp_concept data file anywhere.
Please help for me.

Also, I have extra question. I had a json file in bigquery for schema.
I set gs_file_path ext for .json and saved in bigquery. But, I had an error like this.
image
How can I solve the problem?

@mik-ohdsi
Copy link
Collaborator

Hey @Kisooofficial - for the first problem: the tmp_concept table is created to overcome a problem on date format conversion during import. For some of the tables you have to create temporary tables with string fields for the date to which you import the vocabulary data. Then, in a second step you fill the actual final tables by using the above query that parses the date field content properly.
for the second problem: This is pretty hard to trouble-shoot without knowing your domain.json or relationship.json file. Where are these from? ETL-Synthea? One possible ddl logic can be found here.

@Kisooofficial
Copy link
Author

Hello, This problem had already been resolved too. Thank you for comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants