Mona, Mona

Results 2 issues of Mona, Mona

Fixed the get_column_samples SQL to resolve the 400 error with bigquery while craeting embeddings in the setup notebook.

~/Open_Data_QnA/dbconnectors/BQConnector.py:459, in BQConnector.get_column_samples(self, columns_df) 454 for index, row in columns_df.iterrows(): 455 get_column_sample_sql=f'''SELECT STRING_AGG(CAST(value AS STRING)) as sample_values FROM UNNEST((SELECT APPROX_TOP_COUNT({row["column_name"]},5) as osn 456 FROM `{row["project_id"]}.{row["table_schema"]}.{row["table_name"]}` ... --> 494 raise exceptions.from_http_response(response)...