Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support New Database: IoTDB #226

Open
wants to merge 48 commits into
base: master
Choose a base branch
from

Commits on Oct 9, 2022

  1. init - make success

    init repo.
    make (using mingw32-make) success. The binary is executable on windows.
    citrusreticulata committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    df9db17 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2022

  1. Init iotdb, part Query not completed

    Init iotdb, part Query not completed
    1. pkg\query\iotdb.go added, but not completed yet
    2. cmd\...\iotdb\common.go added, but not completed yet
    3. cmd\...\iotdb\devops.go added, but not completed yet
    4. go.mod and go.sum modified
    citrusreticulata committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    7021966 View commit details
    Browse the repository at this point in the history
  2. complete devops.go; fix typo

    1. complete devops.go. without devops_test.go
    Other files are not completed so it may cannot generate queries till now.
    2. fix some typo in internal\utils\time_interval.go
    citrusreticulata committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    425da8c View commit details
    Browse the repository at this point in the history
  3. devops query generate completed. test file added.

    1. devops query generate completed.
    2. test file added, but NOT completed
    citrusreticulata committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    2fbc8e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. queries test complete

    queries test complete
    citrusreticulata committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    401fe51 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

  1. serializer complete

    serializer complete
    citrusreticulata committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    48b77d1 View commit details
    Browse the repository at this point in the history
  2. working on testcases loading

    cmd/tsbs_load_iotdb
    citrusreticulata committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    1444627 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. tsbs_load_iotdb complete (without unit tests)

    tsbs_load_iotdb is completed, but no unit tests added in this part
    citrusreticulata committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    b320cba View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. update iotdb-client-go version

    update iotdb-client-go version, use timeoutInMs
    citrusreticulata committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    2419b00 View commit details
    Browse the repository at this point in the history
  2. complete scan test

    complete scan test
    也许应该做更多努力来增强batch的性能
    citrusreticulata committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    c5869c9 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. update some user friendly tips

    update some user friendly tips. timeout info, workers info.
    citrusreticulata committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    6a92520 View commit details
    Browse the repository at this point in the history
  2. Users can now specify timeout

    Users can now specify timeout for session opening check
    citrusreticulata committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    68a0aaf View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. tsbs_run_queries_iotdb has been completed.

    tsbs_run_queries_iotdb has been completed.
    Some CRTODO comments need to be removed
    citrusreticulata committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    7c17989 View commit details
    Browse the repository at this point in the history
  2. CRTODO removed,using back quote(`) in IP address

    CRTODO removed
    using back quote(`) in IP address instead of using quotation marks(")
    citrusreticulata committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    c3850f4 View commit details
    Browse the repository at this point in the history
  3. using DATETIME-INPUT in data serializer

    using DATETIME-INPUT in data serializer
    timestamp in LONG INT is ambiguous
    citrusreticulata committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    9cc69bc View commit details
    Browse the repository at this point in the history
  4. fix bug in GroupByTimeAndPrimaryTag

    fix bug in GroupByTimeAndPrimaryTag
    should use one hour in `group by` instead of one minute
    citrusreticulata committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    1a83132 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. added doc, readme for iotdb

    added documentation, readme for iotdb
    citrusreticulata committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    c5a630c View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. update main readme

    citrusreticulata committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    e1439b5 View commit details
    Browse the repository at this point in the history
  2. [Important] using InsertRecords

    1.using InsertRecords
    2.serilaizer string without ''
    3.using unixNano as timestamp in serializer output file, but should be converted into millisecond before insert.
    4.readme updated
    5.there is 3 lines in serializer output for each data point
    citrusreticulata committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    b009f19 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. using 4lines structure for serializer, not completed

    using 4lines structure for serializer, not completed
    can insert data without tags.
    can NOT handle tags yet in this commit.
    citrusreticulata committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    079fc73 View commit details
    Browse the repository at this point in the history
  2. using 4lines, storage tags in attributes of node '_tags'

    using 4lines serializer
    storage tags in attributes of node '_tags'
    citrusreticulata committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    bcbf8b3 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. update workersNum warning in insertion test

    update workersNum warning in insertion test
    less than five --> less than 2
    citrusreticulata committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    eb26063 View commit details
    Browse the repository at this point in the history
  2. optimize ProcessBatch function

    optimize ProcessBatch function
    using records struct to simplify code
    citrusreticulata committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    9c99cd9 View commit details
    Browse the repository at this point in the history
  3. fix typo parseDateToInterface -> parseDataToInterface

    fix typo parseDateToInterface -> parseDataToInterface
    citrusreticulata committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    7094855 View commit details
    Browse the repository at this point in the history
  4. [important] support csv export

    support csv export
    but readme is not updated
    citrusreticulata committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    146f139 View commit details
    Browse the repository at this point in the history
  5. make sure csv export can be used offline

    make sure csv export can be used offline
    if to-csv == true, then there is no need to connect to any database, because user want to generate csv files locally
    citrusreticulata committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    a3b10a1 View commit details
    Browse the repository at this point in the history
  6. updated docs and comments. added arguments check. init bug fixed

    updated docs and comments.
    added arguments check
    init bug fixed: forget to init ProcessedTagsDeviceIDMap in Init.
    citrusreticulata committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    bedfeba View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. updated test cases for scan.go and serializer.go

    updated test cases for scan.go and serializer.go
    return empty string while there is no tags
    citrusreticulata committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    b4df7a6 View commit details
    Browse the repository at this point in the history
  2. correct SQL queries; support printing responses

    correct SQL queries.
    support printing queries responses.
    citrusreticulata committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    9d00fa0 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. [important] Printing is not counted into time; do NOT send close.

    [important]
    Printing is not counted into query time.
     Do NOT send close signal after each query.
    citrusreticulata committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    ffe4bab View commit details
    Browse the repository at this point in the history
  2. updated main readme

    updated main readme
    citrusreticulata committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    eecb4cb View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. fix bug: query dataset closing

    fix bug:
    query dataset did not close in all cases.
    Now dataset will always close after query, and will be traversed in query
    citrusreticulata committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    61c84f4 View commit details
    Browse the repository at this point in the history
  2. check dataset close error before return

    check dataset close error before return
    citrusreticulata committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    8f8bdf1 View commit details
    Browse the repository at this point in the history
  3. better error catch for dataset closing

    better error catch for dataset closing
    citrusreticulata committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    5963896 View commit details
    Browse the repository at this point in the history
  4. updated SQL query

    updated SQL query
    citrusreticulata committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    abcb39b View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. close sql dataset in insertion

    close sql dataset in insertion
    citrusreticulata committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    8234919 View commit details
    Browse the repository at this point in the history
  2. Traverse query results in insertion

    Traverse query results in insertion
    citrusreticulata committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    e5e2580 View commit details
    Browse the repository at this point in the history
  3. fix defer ds.Close() in insertion

    fix defer ds.Close() in insertion
    citrusreticulata committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    a16db5b View commit details
    Browse the repository at this point in the history
  4. use ExecuteNonQueryStatement for inserting tags

    use ExecuteNonQueryStatement for inserting tags
    citrusreticulata committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    9b5389e View commit details
    Browse the repository at this point in the history
  5. close dataSet in queries anyway

    close dataSet in queries anyway
    citrusreticulata committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    3a8975a View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. for GroupByTime use 1min

    for GroupByTime use 1min, fix issues timescale#214
    IoTDB is same with InfluxDB and TimescaleDB now。
    And that meas the behavior of IoTDB single-group-by queries is NOT same with README, but is same with other databases.
    citrusreticulata committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    08712e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. user can choose TS type and whether to store tags

    User can choose TS type and whether to store tags now.
    Added flag `aligned-timeseries` and `store-tags` for tsbs_load_iotdb
    citrusreticulata committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    2f14fa6 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. do NOT traverse query results

    after queries, not traverse query results
    citrusreticulata committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    fa950bb View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. treat all integer as int32

    treat all integer as int32
    citrusreticulata committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    82902f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. do NOT treat all integer as int32

    do NOT treat all integer as int32
    citrusreticulata committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    96ce144 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Fixed Bug, supported using BasicPath for data generation

    Fixed Bug, supported using BasicPath for data generation
    citrusreticulata committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    559ebd6 View commit details
    Browse the repository at this point in the history
  2. Fix test cases TestSerialize_normal

    Fix test cases TestSerialize_normal
    citrusreticulata committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    38c9e1b View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Merge pull request #1 from citrusreticulata/master

    Fix panic in timescale target with `iot` use case (timescale#233)
    citrusreticulata committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    074cefa View commit details
    Browse the repository at this point in the history