Skip to content

Commit

Permalink
add default time column related config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachelint committed Mar 28, 2023
1 parent 726764d commit 352eabf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/en/ecosystem/influxdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ curl -i -XPOST "http://localhost:5440/influxdb/v1/write?db=public&precision=ms"

Measurement will be created automatically like what in influxDB, and each measurement will be mapped to a table.

Currently you need to add this line to the server config for making the automatically created table's schema compatible with influxDB(surely, we may optimize this in later development):

```toml
[server.default_schema_config]
default_timestamp_column_name = "time"
```

For example, when inserting data above, table as following will be created in CeresDB:

```sql
Expand Down

0 comments on commit 352eabf

Please sign in to comment.