Moving and downsampling some data between two databases. Need the to maintain 
the names of the values.

SELECT last(*)
INTO "mfcf_vmware"."autogen".:measurement
FROM /^vmware_.*/
WHERE time >= '2016-01-01T00:00:00Z'
GROUP BY time(30m), "host"

This almost worked but the copy of the data has "last_" prefixed for all the 

What's the best way to alias the columns to the original name?
is there a possible backreference?
`SELECT last(*) AS .:?origina_name?`

Also can you point me to the location in the documentation that shows this?
If this information is not in the documents then perhaps an issue should be 


Remember to include the InfluxDB version number with all issue reports
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to