-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I am trying to define a schema with a field of Timestamp Data type
var builder = new Apache.Arrow.Schema.Builder();
builder
.Field(fb =>
{
fb.Name("id");
fb.DataType(StringType.Default);
fb.Nullable(false);
})
.Field(fb =>
{
fb.Name("time");
fb.DataType(TimestampType.Default);
fb.Nullable(false);
});
var schema = builder.Build();
using var table = await engine.CreateTableAsync(
new TableCreateOptions(baseUri.ToString(), schema)
{
PartitionBy = ["id"],
StorageOptions = storageOptions,
},
CancellationToken.None);
But creating the table does not work with error:
Schema error: Invalid data type for Delta Lake: Timestamp(Millisecond, Some("+00:00"))'
Using just a string type, the table can be created successfully
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels