Skip to content

Commit

Permalink
[fix] Wrap measurement name in double quotes in timeseries_migrate co…
Browse files Browse the repository at this point in the history
…mmand

Bug:
The READ_QUERY was failing if the measurement name starts with an
integer.
  • Loading branch information
pandafy committed Jan 16, 2025
1 parent 6616870 commit 68ec2f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
SELECT_QUERY_LIMIT = 1000
WRITE_BATCH_SIZE = 1000
READ_QUERY = (
"SELECT {fields} FROM {measurement}"
"SELECT {fields} FROM \"{measurement}\""
" WHERE content_type='{content_type_key}'"
" AND object_id='{object_id}'"
)
Expand Down

0 comments on commit 68ec2f3

Please sign in to comment.