mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-19 14:30:43 +00:00
ci: generate apidocs when pushing to default branch (#1093)
* ci: generate apidocs when pushing to default branch * ci: require clippy before running tests * fix: resolve new clippy warnings on primitive slice * fix: resolve more clippy warnings * Update .github/workflows/apidoc.yml Co-authored-by: Ruihang Xia <waynestxia@gmail.com> * ci: add an index html to redirect --------- Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -108,16 +108,16 @@ impl ScriptsTable {
|
||||
// Timestamp in key part is intentionally left to 0
|
||||
columns_values.insert(
|
||||
"timestamp".to_string(),
|
||||
Arc::new(TimestampMillisecondVector::from_slice(&[0])) as _,
|
||||
Arc::new(TimestampMillisecondVector::from_slice([0])) as _,
|
||||
);
|
||||
let now = util::current_time_millis();
|
||||
columns_values.insert(
|
||||
"gmt_created".to_string(),
|
||||
Arc::new(TimestampMillisecondVector::from_slice(&[now])) as _,
|
||||
Arc::new(TimestampMillisecondVector::from_slice([now])) as _,
|
||||
);
|
||||
columns_values.insert(
|
||||
"gmt_modified".to_string(),
|
||||
Arc::new(TimestampMillisecondVector::from_slice(&[now])) as _,
|
||||
Arc::new(TimestampMillisecondVector::from_slice([now])) as _,
|
||||
);
|
||||
let table = self
|
||||
.catalog_manager
|
||||
|
||||
Reference in New Issue
Block a user