1. 29 5月, 2023 1 次提交
  2. 24 5月, 2023 1 次提交
    • D
      Feature/3.0 geometry (#21037) · 984211f3
      Dingle Zhang 提交于
      * Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.
      
      * add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling
      
      * change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh
      
      * Add a function MakePoint() and introduce a lib geometry
      
      * implement sql functions GeomFromText() and AsText()
      
      * Use GEOS *_r funcions instead for thread safety
      
      * Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
      Add geosWrapper to wrap the basic GEOS functions for TDEngine.
      
      * refactor AsText and MakePoint functions to be like GeomFromText
      
      * Show WKT when print geometry data in screen
      Dump hex data when dump geometry data in a file
      
      * define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.
      
      * set number of decimals of WKT to 6
      
      * Implement SQL function Intersects()
      
      * refactor geometry sql functions
      
      * Add geosErrMsgeHandler() to get the GEOS error detail
      
      * use threadlocal to instantiate SGeosContext
      call destroyGeosContext() only if the thread exists
      
      * remove SGeosContext *context param for all geometry functions since we use thread local one,
      so that all caller do not need to know the context.
      
      * Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.
      
      * rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn
      
      * Add prefix "ST_" for all geometry functions
      
      * move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
      so that all unit test tools can compile
      
      * Add unit test for geometry lib, only test MakePoint so far
      
      * refactor and enhance existing cases in geomFuncTest
      
      * implement NULL type and NULL value test for geomFuncTest
      
      * add test on geomFromText()
      
      * add unit test on AsText() in geomFuncTest
      
      * combine some makePointFunction test items
      
      * add intersectsFunctionTwoColumns test
      refactor on callGeomFromTextWrapper functions
      
      * enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content
      
      * add more cases into intersectsFunction test
      
      * Add basic test on geometry in system test
      
      * Add ST_GeomFromText and ST_AsText function test in system test on geometry
      
      * add ST_Intersects function test in system test on geometry
      
      * support to check expectedErrno in system test on geometry
      
      * adjust geomTest unit test and geometry system test
      
      * add geometry data type and functions in doc english version
      
      * implement touchesFunction() in geometry lib
      refactor geometry relation functions model
      
      * separate gemFuncTest into several src files
      
      * add unit test on touchesFunction
      
      * support sql function ST_Touches()
      add system test on ST_Touches
      
      * add docs for ST_Touches()
      
      * Add ST_Contains()
      
      * Add ST_Covers()
      
      * Add ST_Equals()
      
      * add swapAllowed param for geomRelationFunction()
      read geom2 earlier intead of at doGeosRelation()
      
      * Add ST_ContainsProperly()
      
      * build on windows
      
      * Merge from 3.0 to 3.0_geometry
      
      * change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility
      
      * change '\\NULL' to 'NULL' back in shellDumpFieldToFile()
      
      * add /usr/local/include into include directory
      
      * add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
      984211f3
  3. 21 4月, 2023 1 次提交
  4. 10 2月, 2023 1 次提交
    • sangshuduo's avatar
      fix: alpine support (#19353) · ea5d925c
      sangshuduo 提交于
      * fix: alpine support
      
      * fix: ostimer thread_id
      
      * fix: taosPrintTrace and tsStreamMax
      
      * fix: make_install.sh and dnodes.py for alpine
      
      * fix: cmake.platform and cut option for alpine
      
      * fix: timer sigev and string convert
      
      * fix: test case for alpine
      
      * fix: fix test script for alpine
      
      * fix: fix test script for alpine
      
      * fix: fix taosLogTrace for Alpine
      
      * fix: fix taosSort
      
      * fix: vnode and mnode compare functions and test cases
      
      * fix: sorting algorithms and unit tests
      
      * fix: libtaosws.so build error on Alpine
      
      * fix: libtaosws.so build error on Alpine
      
      ---------
      Co-authored-by: Nt_max <1172915550@qq.com>
      ea5d925c
  5. 13 12月, 2022 1 次提交
  6. 29 11月, 2022 2 次提交
  7. 15 11月, 2022 1 次提交
  8. 11 11月, 2022 1 次提交
  9. 10 11月, 2022 1 次提交
  10. 13 10月, 2022 1 次提交
  11. 08 9月, 2022 1 次提交
  12. 29 8月, 2022 1 次提交
  13. 10 8月, 2022 1 次提交
  14. 09 8月, 2022 1 次提交
  15. 08 8月, 2022 1 次提交
  16. 18 7月, 2022 1 次提交
  17. 21 6月, 2022 1 次提交
  18. 31 5月, 2022 1 次提交
  19. 02 4月, 2022 1 次提交
  20. 16 3月, 2022 1 次提交
    • sangshuduo's avatar
      [TD-13063]<feature>: 3.0 on windows (#10765) · 3c6c5184
      sangshuduo 提交于
      * [TD-13063]<feature>: 3.0 on Windows
      
      * add pthread in contrib
      
      * fix linux compile
      
      * fix osSemaphore
      
      * add gnu regex for Windows
      
      * fix compile error for Windows
      
      * support arm platform
      
      * port more OS files
      
      * fix for Windows compile
      
      * port more files
      
      * fix macOS on x86_64
      
      * port osFile
      
      * port osSemaphone.h
      
      * port osSocket.c
      
      * port tconfig.c
      
      * port ttimer.c
      
      * add couple files
      
      * merge with 3.0
      3c6c5184
  21. 15 3月, 2022 1 次提交
    • sangshuduo's avatar
      Feature/sangshuduo/td 13063 3.0 windows (#10720) · 23bef711
      sangshuduo 提交于
      * [TD-13063]<feature>: 3.0 on Windows
      
      * add pthread in contrib
      
      * fix linux compile
      
      * fix osSemaphore
      
      * add gnu regex for Windows
      
      * fix compile error for Windows
      
      * support arm platform
      
      * port more OS files
      
      * fix for Windows compile
      
      * port more files
      
      * fix macOS on x86_64
      
      * port osFile
      
      * port osSemaphone.h
      
      * port osSocket.c
      
      * port tconfig.c
      
      * port ttimer.c
      
      * add couple files
      23bef711
  22. 11 3月, 2022 1 次提交