This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch try_fix_python
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/try_fix_python by this push:
new f708998f Try
f708998f is described below
commit f708998fc451bf924073702ac954ebdbdd150779
Author: HTHou <[email protected]>
AuthorDate: Sun Aug 11 23:08:32 2024 +0800
Try
---
python/pom.xml | 2 +-
python/tsfile/tsfile.pxd | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/pom.xml b/python/pom.xml
index 277a0b32..1a0180d8 100644
--- a/python/pom.xml
+++ b/python/pom.xml
@@ -130,7 +130,7 @@
<goal>exec</goal>
</goals>
<configuration>
-
<executable>${python.venv.bin}${python.exe.bin}</executable>
+ <executable>${python.venv.bin}pytest</executable>
<arguments>
<argument>${project.basedir}/test.py</argument>
</arguments>
diff --git a/python/tsfile/tsfile.pxd b/python/tsfile/tsfile.pxd
index a41794e2..69d24377 100644
--- a/python/tsfile/tsfile.pxd
+++ b/python/tsfile/tsfile.pxd
@@ -79,7 +79,7 @@ cdef extern from "./TsFile-cwrapper.h":
# read tsfile data
QueryDataRet ts_reader_begin_end(CTsFileReader reader, const char*
table_name,
- char** columns, int colum_num, timestamp
start_time, timestamp end_time)
+ char** columns, int colum_num, timestamp
begin, timestamp end)
QueryDataRet ts_reader_read(CTsFileReader reader, const char* table_name,
char** columns, int colum_num)
DataResult* ts_next(QueryDataRet data, int expect_line_count)