suho_ryo
New Contributor III

Hello @Khaja_Zaffer 

 

Thanks for your reply.

I believe the table schema should be correct, as I created it with the following statement. There are no boolean values in my data. When I tried exporting the created table and then re-importing it, I encountered the same error.

CREATE TABLE IF NOT EXISTS table_name (
  eval_id STRING,
  request STRING,
  guidelines ARRAY<STRING>,
  feedback_records ARRAY<STRING>,
  metadata STRING,
  tags STRING
)

 

However, when I set the value for feedback_records to ["true", "false"], I got the following error message:

"Failed to load examples
Expected 'START_OBJECT' not 'VALUE_TRUE' at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 5] at [Source: UNKNOWN; line: 1, column: 5]"

 

I suspect that column: 5 refers to the metadata column. I thought any string would be acceptable for this field, but it still resulted in an error. Since the message mentioned 'START_OBJECT', I also tried using a string that starts with "{", but that produced the same error as well.