-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use parameter binding in TDEngine target insertions (#536)
* Small changes * Set pytest marker at the module level https://docs.pytest.org/en/stable/example/markers.html#marking-whole-classes-or-modules * Add type hints * Upgrade pytest * Use parameter binding in TDEngine INSERT * Upgrade pytest-benchmark * Fix `pytest.skip` usage https://docs.pytest.org/en/stable/how-to/skipping.html * Revert "Fix `pytest.skip` usage" This reverts commit b6cbb80. * Revert "Upgrade pytest-benchmark" This reverts commit c7894bb. * Revert "Upgrade pytest" This reverts commit 5576ab8. * Suppress type hint for old pytest * Remove a redundant parameter * Move error class to dtypes * Rename fun -> func * val_names -> regular_column_names * Add `_TDEngineField` named tuple * Add `_to_tag` and `_to_column` mappings * Rename `_TDEngineField` -> `_TDEngineFieldData` * Get TDEngine schema from table/super-table * format * Improve type hints * empty * Call `DESCRIBE` once in the `_init` method * Rename "field data" to "field" * Check first instead of try-except * Validate DB and table names * Improve ms comment * Rewrite the test into `test_get_table_schema`
- Loading branch information
Showing
5 changed files
with
333 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.