diff --git a/snuba/datasets/configuration/profiles/entities/chunks.yaml b/snuba/datasets/configuration/profiles/entities/chunks.yaml index a6c1cbbfeb0..ec5dcca1326 100644 --- a/snuba/datasets/configuration/profiles/entities/chunks.yaml +++ b/snuba/datasets/configuration/profiles/entities/chunks.yaml @@ -6,8 +6,8 @@ schema: { name: project_id, type: UInt, args: { size: 64 } }, { name: profiler_id, type: UUID }, { name: chunk_id, type: UUID }, - { name: start_timestamp, type: DateTime64 }, - { name: end_timestamp, type: DateTime64 }, + { name: start_timestamp, type: DateTime64, args: { precision: 6 } }, + { name: end_timestamp, type: DateTime64, args: { precision: 6 } }, ] required_time_column: start_timestamp @@ -21,10 +21,9 @@ storage_selector: query_processors: - processor: TimeSeriesProcessor args: - time_group_columns: - time: received time_parse_columns: - - received + - start_timestamp + - end_timestamp validate_data_model: error validators: diff --git a/snuba/datasets/configuration/profiles/storages/chunks.yaml b/snuba/datasets/configuration/profiles/storages/chunks.yaml index 9e81e1155f6..f7856e46bea 100644 --- a/snuba/datasets/configuration/profiles/storages/chunks.yaml +++ b/snuba/datasets/configuration/profiles/storages/chunks.yaml @@ -11,9 +11,8 @@ schema: { name: project_id, type: UInt, args: { size: 64 } }, { name: profiler_id, type: UUID }, { name: chunk_id, type: UUID }, - { name: start_timestamp, type: DateTime64 }, - { name: end_timestamp, type: DateTime64 }, - + { name: start_timestamp, type: DateTime64, args: { precision: 6 } }, + { name: end_timestamp, type: DateTime64, args: { precision: 6 } }, { name: retention_days, type: UInt, args: { size: 16 } }, { name: partition, type: UInt, args: { size: 16 } }, { name: offset, type: UInt, args: { size: 64 } },