timeplus 1.4.1__tar.gz → 2.0.0b1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {timeplus-1.4.1 → timeplus-2.0.0b1}/PKG-INFO +1 -1
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_ingest_stream.py +19 -7
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_sqlalchemy_query.py +22 -2
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/dbapi.py +11 -4
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/stream.py +13 -0
- timeplus-2.0.0b1/timeplus/version.py +1 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus.egg-info/PKG-INFO +1 -1
- timeplus-1.4.1/timeplus/version.py +0 -1
- {timeplus-1.4.1 → timeplus-2.0.0b1}/README.md +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/setup.cfg +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/setup.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/__init__.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/api_client.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/configuration.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/__init__.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/alert.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/alert_incident.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/alert_timeline.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/analyze_sql_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/api_key.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/batching_policy.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/build.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/column.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/column_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/columns_resp.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_alert_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_api_key_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_api_key_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_dashboard_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_query_request_v1_beta2.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_saved_query_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_sink_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_source_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/create_view_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/customer.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/dashboard_dashboard.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/dashboard_panel.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/edge.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/error_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/event.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/event_infer_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/event_infer_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/execute_query_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/external_stream.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/external_stream_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/external_table.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/external_table_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/format_query_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/format_query_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/global_metrics_result.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/graph.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/info.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/ingest_data.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/invitation.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/invitation_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/kafka_common.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/kafka_common_tls.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/keygen_license.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/license_license.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/node.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/owner.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/payment.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/query.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline_edge.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline_node.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline_node_metric.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/query_result.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/saved_query.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/schema_resp.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/sink.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/sink_stat.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/sink_stats.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/source.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/source_preview_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/sql_analyze_column.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/sql_analyze_result.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stats.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stats_error.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stats_throughput.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stream.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stream_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stream_match_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stream_setting.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/stream_stats.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/subscription.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/time_columns.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/udf.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/udf_argument.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/udf_auth_context.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/update_dashboard_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/update_source_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/update_stream_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/update_view_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/update_workspace_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/v1beta2_create_schema_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/v1beta2_licenses_body.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/v1beta2_list_kafka_topic_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/v1beta2_update_schema_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/view.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/workspace.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/workspace_settings.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/rest.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/__init__.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/alerts_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/api_keys_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/dashboards_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/external_streams_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/external_tables_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/invitations_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/license_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/metrics_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/misc_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/queries_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/saved_queries_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/schemas_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/sinks_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/sources_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/streams_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/subscription_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/topology_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/udfs_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/views_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/workspace_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/timeplus/workspaces_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/__init__.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_alert.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_alert_incident.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_alert_timeline.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_alerts_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_analyze_sql_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_api_key.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_api_keys_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_batching_policy.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_build.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_column.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_column_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_columns_resp.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_alert_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_api_key_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_api_key_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_dashboard_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_query_request_v1_beta2.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_saved_query_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_sink_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_source_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_create_view_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_customer.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_dashboard_dashboard.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_dashboard_panel.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_dashboards_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_edge.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_error_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_event.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_event_infer_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_event_infer_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_execute_query_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_external_stream.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_external_stream_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_external_streams_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_external_table.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_external_table_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_external_tables_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_format_query_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_format_query_response.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_global_metrics_result.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_graph.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_info.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_ingest_data.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_invitation.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_invitation_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_invitations_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_kafka_common.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_kafka_common_tls.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_keygen_license.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_license_license.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_license_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_metrics_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_misc_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_node.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_owner.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_payment.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_queries_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_query.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline_edge.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline_node.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline_node_metric.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_query_result.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_saved_queries_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_saved_query.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_schema_resp.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_schemas_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_sink.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_sink_stat.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_sink_stats.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_sinks_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_source.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_source_preview_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_sources_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_sql_analyze_column.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_sql_analyze_result.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stats.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stats_error.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stats_throughput.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stream.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stream_def.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stream_match_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stream_setting.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_stream_stats.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_streams_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_subscription.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_subscription_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_time_columns.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_topology_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_udf.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_udf_argument.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_udf_auth_context.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_udfs_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_update_dashboard_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_update_source_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_update_stream_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_update_view_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_update_workspace_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_v1beta2_create_schema_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_v1beta2_licenses_body.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_v1beta2_list_kafka_topic_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_v1beta2_update_schema_request.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_view.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_views_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_workspace.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_workspace_settings.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_workspace_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_test/test_workspaces_v1beta2_api.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_alert.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_analyze.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_dashboard.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_dbapi.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_env.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_external_stream.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_query.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_schema.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_sink.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_source.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_sqlalchemy_types.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_stream.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_topology.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_udf.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/test/test_view.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/__init__.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/alert.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/dashboard.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/env.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/error.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/external_stream.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/query.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/schema.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/sink.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/source.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/sqlalchemy.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/topology.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/type.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/udf.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus/view.py +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus.egg-info/SOURCES.txt +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus.egg-info/dependency_links.txt +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus.egg-info/requires.txt +0 -0
- {timeplus-1.4.1 → timeplus-2.0.0b1}/timeplus.egg-info/top_level.txt +0 -0
|
@@ -5,15 +5,19 @@ import pytest
|
|
|
5
5
|
from timeplus import Stream, Query
|
|
6
6
|
import datetime
|
|
7
7
|
|
|
8
|
+
time_wait = 5
|
|
8
9
|
|
|
9
10
|
def test_ingest(test_environment, test_stream):
|
|
11
|
+
# there is one row data in test stream already
|
|
12
|
+
time.sleep(time_wait)
|
|
13
|
+
# wait previous data ingested
|
|
10
14
|
data = [["time", "data"], [[1, "efgh"]]]
|
|
11
15
|
try:
|
|
12
16
|
test_stream.ingest(*data)
|
|
13
17
|
except Exception as e:
|
|
14
18
|
pytest.fail(f"Ingest method failed with exception {e}")
|
|
15
19
|
|
|
16
|
-
time.sleep(
|
|
20
|
+
time.sleep(time_wait)
|
|
17
21
|
|
|
18
22
|
query = (
|
|
19
23
|
Query(env=test_environment)
|
|
@@ -26,7 +30,6 @@ def test_ingest(test_environment, test_stream):
|
|
|
26
30
|
if event.event == "message":
|
|
27
31
|
results.extend(json.loads(event.data))
|
|
28
32
|
print(results)
|
|
29
|
-
print(results[1][1])
|
|
30
33
|
|
|
31
34
|
assert len(results) > 1, "No data returned from the stream"
|
|
32
35
|
assert results[1][0] == 1, "Returned time does not match the ingested integer"
|
|
@@ -42,8 +45,12 @@ def test_stream_ingest_lines(test_environment,test_stream):
|
|
|
42
45
|
Stream(env=test_environment)
|
|
43
46
|
.name("test_stream")
|
|
44
47
|
.column("raw", "string")
|
|
48
|
+
.replication_factor(3)
|
|
49
|
+
.shards(3)
|
|
45
50
|
.create()
|
|
46
51
|
)
|
|
52
|
+
time.sleep(time_wait)
|
|
53
|
+
|
|
47
54
|
payload = '{"time":1,"data":"abcd"}\n{"time":2,"data":"xyz"}'
|
|
48
55
|
|
|
49
56
|
# Ingest data in 'lines' format
|
|
@@ -52,7 +59,7 @@ def test_stream_ingest_lines(test_environment,test_stream):
|
|
|
52
59
|
except Exception as e:
|
|
53
60
|
pytest.fail(f"Ingest lines method failed with exception {e}")
|
|
54
61
|
|
|
55
|
-
time.sleep(
|
|
62
|
+
time.sleep(time_wait)
|
|
56
63
|
|
|
57
64
|
query = (
|
|
58
65
|
Query(env=test_environment)
|
|
@@ -85,16 +92,20 @@ def test_stream_ingest_raw(test_environment,test_stream):
|
|
|
85
92
|
Stream(env=test_environment)
|
|
86
93
|
.name("test_stream")
|
|
87
94
|
.column("raw", "string")
|
|
95
|
+
.replication_factor(3)
|
|
96
|
+
.shards(3)
|
|
88
97
|
.create()
|
|
89
98
|
)
|
|
90
99
|
|
|
100
|
+
time.sleep(time_wait)
|
|
101
|
+
|
|
91
102
|
# Ingest data in 'raw' format
|
|
92
103
|
try:
|
|
93
104
|
stream.ingest(payload=payload, format="raw")
|
|
94
105
|
except Exception as e:
|
|
95
106
|
pytest.fail(f"Ingest raw method failed with exception {e}")
|
|
96
107
|
|
|
97
|
-
time.sleep(
|
|
108
|
+
time.sleep(time_wait)
|
|
98
109
|
|
|
99
110
|
query = (
|
|
100
111
|
Query(env=test_environment)
|
|
@@ -115,6 +126,9 @@ def test_stream_ingest_raw(test_environment,test_stream):
|
|
|
115
126
|
|
|
116
127
|
|
|
117
128
|
def test_json_ingest(test_environment, test_stream):
|
|
129
|
+
# there is one row data in test stream already
|
|
130
|
+
time.sleep(time_wait)
|
|
131
|
+
# wait previous data ingested
|
|
118
132
|
payload = """
|
|
119
133
|
{"time":2,"data":"hello"}
|
|
120
134
|
{"time":1,"data":"world"}
|
|
@@ -126,7 +140,7 @@ def test_json_ingest(test_environment, test_stream):
|
|
|
126
140
|
except Exception as e:
|
|
127
141
|
pytest.fail(f"Ingest streaming method failed with exception {e}")
|
|
128
142
|
|
|
129
|
-
time.sleep(
|
|
143
|
+
time.sleep(time_wait)
|
|
130
144
|
|
|
131
145
|
query = (
|
|
132
146
|
Query(env=test_environment)
|
|
@@ -138,8 +152,6 @@ def test_json_ingest(test_environment, test_stream):
|
|
|
138
152
|
if event.event == "message":
|
|
139
153
|
results.extend(json.loads(event.data))
|
|
140
154
|
print(results)
|
|
141
|
-
print(results[0][0])
|
|
142
|
-
print(results[0])
|
|
143
155
|
|
|
144
156
|
assert len(results) > 1, "No data returned from the stream"
|
|
145
157
|
assert results[1][0] == 2, "Returned data does not match the ingested data"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import time
|
|
1
2
|
from sqlalchemy import text, select, MetaData, Table
|
|
2
3
|
from timeplus import View
|
|
3
4
|
|
|
@@ -58,11 +59,30 @@ def test_table_names(engine):
|
|
|
58
59
|
assert "car_live_data" in tables
|
|
59
60
|
|
|
60
61
|
|
|
61
|
-
def test_view_names(engine):
|
|
62
|
+
def test_view_names(test_environment, engine):
|
|
63
|
+
view_name = "example_mv"
|
|
64
|
+
view = View(env=test_environment).name(view_name)
|
|
65
|
+
|
|
66
|
+
try:
|
|
67
|
+
view.delete()
|
|
68
|
+
except Exception:
|
|
69
|
+
pass
|
|
70
|
+
|
|
71
|
+
view = (
|
|
72
|
+
View(env=test_environment)
|
|
73
|
+
.name(view_name)
|
|
74
|
+
.query("select * from test_stream")
|
|
75
|
+
.create()
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
time.sleep(1)
|
|
79
|
+
|
|
62
80
|
with engine.connect() as conn:
|
|
63
81
|
views = engine.dialect.get_view_names(conn)
|
|
64
82
|
print(views)
|
|
65
|
-
assert "
|
|
83
|
+
assert "example_mv" in views
|
|
84
|
+
|
|
85
|
+
view.delete()
|
|
66
86
|
|
|
67
87
|
|
|
68
88
|
def test_materialized_view_names(engine,test_environment,test_stream):
|
|
@@ -3,7 +3,7 @@ import re
|
|
|
3
3
|
import itertools
|
|
4
4
|
from collections import namedtuple
|
|
5
5
|
|
|
6
|
-
from timeplus import Environment, Query, Stream, View
|
|
6
|
+
from timeplus import Environment, Query, Stream, View, ExternalStream
|
|
7
7
|
from timeplus.error import Error
|
|
8
8
|
|
|
9
9
|
|
|
@@ -151,20 +151,27 @@ class Connection(object):
|
|
|
151
151
|
# since some SQL is not exposed through API yet
|
|
152
152
|
def _exist_table(self, name):
|
|
153
153
|
stream = Stream(env=self.env).name(name)
|
|
154
|
-
|
|
154
|
+
external_stream = ExternalStream(env=self.env).name(name)
|
|
155
|
+
return stream.exist() or external_stream.exist()
|
|
155
156
|
|
|
156
157
|
def _exist_view(self, name):
|
|
157
158
|
view = View(env=self.env).name(name)
|
|
158
159
|
return view.exist()
|
|
159
160
|
|
|
160
161
|
def _get_table(self, name):
|
|
161
|
-
|
|
162
|
+
try:
|
|
163
|
+
return Stream(env=self.env).name(name).get()
|
|
164
|
+
except:
|
|
165
|
+
return ExternalStream(env=self.env).name(name).get()
|
|
162
166
|
|
|
163
167
|
def _get_view(self, name):
|
|
164
168
|
return View(env=self.env).name(name).get()
|
|
165
169
|
|
|
166
170
|
def _list_table(self):
|
|
167
|
-
|
|
171
|
+
streams = Stream(env=self.env).list()
|
|
172
|
+
estreams = ExternalStream(env=self.env).list()
|
|
173
|
+
|
|
174
|
+
return streams + estreams
|
|
168
175
|
|
|
169
176
|
def _list_view(self):
|
|
170
177
|
return View(env=self.env).list()
|
|
@@ -29,6 +29,8 @@ class Stream:
|
|
|
29
29
|
self._description = None
|
|
30
30
|
self._mode = "append"
|
|
31
31
|
self._primary_key = None
|
|
32
|
+
self._replication_factor = None
|
|
33
|
+
self._shards = None
|
|
32
34
|
|
|
33
35
|
def name(self, stream_name):
|
|
34
36
|
"""
|
|
@@ -93,6 +95,14 @@ class Stream:
|
|
|
93
95
|
self._primary_key = primary_key
|
|
94
96
|
return self
|
|
95
97
|
|
|
98
|
+
def replication_factor(self, replication_factor):
|
|
99
|
+
self._replication_factor = replication_factor
|
|
100
|
+
return self
|
|
101
|
+
|
|
102
|
+
def shards(self, shards):
|
|
103
|
+
self._shards = shards
|
|
104
|
+
return self
|
|
105
|
+
|
|
96
106
|
def create(self):
|
|
97
107
|
"""
|
|
98
108
|
Sends a request to the API to create the stream.
|
|
@@ -125,6 +135,9 @@ class Stream:
|
|
|
125
135
|
body["description"] = self._description if self._description else None
|
|
126
136
|
body["mode"] = self._mode if self._mode else None
|
|
127
137
|
body["primary_key"] = self._primary_key if self._primary_key else None
|
|
138
|
+
body["replication_factor"] = self._replication_factor if self._replication_factor else None
|
|
139
|
+
body["shards"] = self._shards if self._shards else None
|
|
140
|
+
|
|
128
141
|
|
|
129
142
|
try:
|
|
130
143
|
self._metadata = self._api_instance.v1beta2_streams_post(body)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.0b1" # noqa: F401
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.4.1" # noqa: F401
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{timeplus-1.4.1 → timeplus-2.0.0b1}/swagger_client/models/v1beta2_list_kafka_topic_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|