civisanalytics / civis-python

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

[CIVP-24576] FIX relax SQL type checking in `civis_file_to_table` #439

Closed jacksonlee-civis closed 2 years ago

jacksonlee-civis commented 2 years ago

This pull request relaxes SQL type checking in civis.io.civis_file_to_table, by casting to VARCHAR when type inconsistency is detected for a given column and at least one input file has VARCHAR.

jacksonlee-civis commented 2 years ago

@skomanduri Thank you for catching the column name issue -- this PR is ready for another pass!