Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coe committed Dec 12, 2023
1 parent 9c285ce commit faaf0aa
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions csharp/src/Drivers/BigQuery/BigQueryStatement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ private Field TranslateField(TableFieldSchema field)
return new Field(field.Name, TranslateType(field), field.Mode == "NULLABLE");
}

<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 641a6fe4 (fix line endings)
public override object GetValue(IArrowArray arrowArray, Field field, int index)
{
switch(arrowArray)
Expand All @@ -104,24 +100,6 @@ public override object GetValue(IArrowArray arrowArray, Field field, int index)
}
}

<<<<<<< HEAD
=======
public override object GetValue(IArrowArray arrowArray, Field field, int index)
{
switch(arrowArray)
{
case StructArray structArray:
return SerializeToJson(structArray, index);
case ListArray listArray:
return listArray.GetSlicedValues(index);
default:
return base.GetValue(arrowArray, field, index);
}
}

>>>>>>> be35986c (add back support for List, Struct types)
=======
>>>>>>> 641a6fe4 (fix line endings)
private IArrowType TranslateType(TableFieldSchema field)
{
// per https://developers.google.com/resources/api-libraries/documentation/bigquery/v2/java/latest/com/google/api/services/bigquery/model/TableFieldSchema.html#getType--
Expand Down

0 comments on commit faaf0aa

Please sign in to comment.