Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
3
plugins/parsers/parquet/testcases/timestamp/expected.out
Normal file
3
plugins/parsers/parquet/testcases/timestamp/expected.out
Normal file
|
@ -0,0 +1,3 @@
|
|||
test value=1.1 1710511506000000000
|
||||
test value=2.2 1710597906000000000
|
||||
test value=3.3 1710684306000000000
|
14
plugins/parsers/parquet/testcases/timestamp/generate.py
Normal file
14
plugins/parsers/parquet/testcases/timestamp/generate.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
import pandas
|
||||
import pyarrow
|
||||
import pyarrow.parquet
|
||||
|
||||
df = pandas.DataFrame({
|
||||
'value': [1.1, 2.2, 3.3],
|
||||
'timestamp': [
|
||||
"2024-03-15T14:05:06+00:00", "2024-03-16T14:05:06+00:00",
|
||||
"2024-03-17T14:05:06+00:00",
|
||||
]
|
||||
})
|
||||
|
||||
pyarrow.parquet.write_table(pyarrow.Table.from_pandas(df), "input.parquet")
|
BIN
plugins/parsers/parquet/testcases/timestamp/input.parquet
Normal file
BIN
plugins/parsers/parquet/testcases/timestamp/input.parquet
Normal file
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
[[inputs.test]]
|
||||
files = ["input.parquet"]
|
||||
data_format = "parquet"
|
||||
|
||||
tag_columns = ["tag", "str_field"]
|
||||
timestamp_column = "timestamp"
|
||||
timestamp_format = "2006-01-02T15:04:05Z07:00"
|
Loading…
Add table
Add a link
Reference in a new issue