1
0
Fork 0

Adding upstream version 1.34.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 07:26:29 +02:00
parent e393c3af3f
commit 4978089aab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4963 changed files with 677545 additions and 0 deletions

View file

@ -0,0 +1,7 @@
a,tag=row1 float_field=64 1710683695000000000
b,tag=row1 float_field=65 1710683695000000000
c,tag=row1 float_field=66 1710683695000000000
d,tag=row1 float_field=67 1710683695000000000
e,tag=row1 float_field=68 1710683695000000000
f,tag=row1 float_field=69 1710683695000000000
g,tag=row1 float_field=70 1710683695000000000

View file

@ -0,0 +1,16 @@
#!/usr/bin/env python
import pandas
import pyarrow
import pyarrow.parquet
df = pandas.DataFrame({
'tag': ["row1", "row1", "row1", "row1", "row1", "row1", "row1"],
'float_field': [64.0, 65.0, 66.0, 67.0, 68.0, 69.0, 70.0],
'str_field': ["a", "b", "c", "d", "e", "f", "g"],
'timestamp': [
1710683695, 1710683695, 1710683695, 1710683695, 1710683695,
1710683695, 1710683695,
]
})
pyarrow.parquet.write_table(pyarrow.Table.from_pandas(df), "input.parquet")

Binary file not shown.

View file

@ -0,0 +1,8 @@
[[inputs.test]]
files = ["input.parquet"]
data_format = "parquet"
measurement_column = "str_field"
tag_columns = ["tag"]
timestamp_column = "timestamp"
timestamp_format = "unix"