civisanalytics / civis-python

Civis API Python Client
BSD 3-Clause "New" or "Revised" License
34 stars 26 forks source link

[CIVIS-6409] Change civis_file_to_table to not use table ids to validate that a table exists #464

Closed mjziolko closed 7 months ago

mjziolko commented 1 year ago

The civis_file_to_table relies on a table having an id to validate its existence. Big query tables do not have ids and are not stored in RDS. Instead, use the new /databases/:id/schemas/:schema_name/tables/:table_name endpoint to validate whether or not a table exists. This endpoint works for redshift, postgres, and big query tables.

mjziolko commented 1 year ago

@jacksonlee-civis mind reviewing?

mattyb commented 7 months ago

Duplicates #467