Hi,
I'm trying to understand implications of OGRLayer::WriteArrowBatch():

>This method and CreateFeature() are mutually exclusive in the same session.

The context is binding code where the user could potentially call
either of these methods at any point during the session.

Does "session" refer to the layer or dataset instance, or the GDAL
session itself?

In tests with GPKG, using WriteArrowBatch() followed by
CreateFeature() worked and didn't cause any obvious problems. Should
binding code guard against this in general?

Similarly, CreateFieldFromArrowSchema() and CreateField() are mutually
exclusive in the same session. Is there any issue with using
CreateField() and WriteArrowBatch() in the same session?

Thanks.

Chris
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to