/// Adds a "foo" column to the table and returns the created schema
Adds a "foo" column to the table and returns the created schema
Adds a " foo " column to the table and returns the created schema
async fn make_schema(table: &Arc<TestTable>) -> Arc<Schema> {
        table.create_column("foo", ColumnType::I64).await;
        // create corresponding schema
        Arc::new(
            SchemaBuilder::new()
                .influx_field("foo", InfluxFieldType::Integer)
                .timestamp()
                .build()
                .unwrap(),
        )
    }
async fn make_schema ( table : & Arc < TestTable > ) -> Arc < Schema > { table . create_column ( " " , ColumnType :: I64 ) . await ; // create corresponding schema Arc :: new ( SchemaBuilder :: new ( ) . influx_field ( " " , InfluxFieldType :: Integer ) . timestamp ( ) . build ( ) . unwrap ( ) , ) }
Adds a "foo" column to the table and returns the created schema
Adds a " foo " column to the table and returns the created schema
table
&Arc<TestTable>