mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-20 06:50:37 +00:00
@@ -84,7 +84,7 @@ impl JsonArray<'_> {
|
||||
return UnsupportedArrowTypeSnafu {
|
||||
arrow_type: other.clone(),
|
||||
}
|
||||
.fail();
|
||||
.fail();
|
||||
}
|
||||
};
|
||||
common_telemetry::debug!("after serialize: {:?}", value);
|
||||
|
||||
@@ -108,7 +108,7 @@ impl FlatWriteFormat {
|
||||
&self.arrow_schema,
|
||||
columns,
|
||||
)
|
||||
.context(RecordBatchSnafu)?;
|
||||
.context(RecordBatchSnafu)?;
|
||||
RecordBatch::try_new(batch.schema(), columns).context(NewRecordBatchSnafu)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -174,3 +174,7 @@ FROM bluesky;
|
||||
| | |
|
||||
+---------------+--------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
DROP TABLE bluesky;
|
||||
|
||||
Affected Rows: 0
|
||||
|
||||
|
||||
@@ -88,3 +88,5 @@ LIMIT 3;
|
||||
EXPLAIN
|
||||
SELECT date_part('hour', to_timestamp_micros(arrow_cast(data.time_us, 'Int64'))) as hour_of_day
|
||||
FROM bluesky;
|
||||
|
||||
DROP TABLE bluesky;
|
||||
|
||||
Reference in New Issue
Block a user