These seem to be two different things, but there’s nothing in the docs 
explaining what the difference is. Some things like pyarrow.dataset.dataset 
seem to work with either or even a mix (for partitions / fragments).

```python
from datetime import datetime, timezone
import pyarrow as pa
import pyarrow.compute as pc

v = datetime(2000, 1, 1, tzinfo=timezone.utc)
print(v)  # 2000-01-01 00:00:00+00:00

print(pa.scalar(v, pa.timestamp('ns', tz='UTC')))  # 2000-01-01 00:00:00+00:00

print(pc.scalar(v))  # 2000-01-01 00:00:00.000000Z
# according to the docs this should be a bool, int float or str but at runtime 
a datetime is accepted
# seems to assume UTC but can't set ns precision
```

Could someone clarify what the differences are, and if they’re on purpose or 
accidental, etc.?

Reply via email to