In InfluxDB 1.0+ the SHOW FIELD KEYS query will give the field type. In prior versions there is no way to explicitly return the type of a field. We can infer it from the query responses. Strings will be surrounded by double-quotes in the JSON, numbers won't have quotes.
On Mon, Jul 4, 2016 at 5:15 PM, Michael Reed <[email protected]> wrote: > > > On Monday, July 4, 2016 at 11:57:57 AM UTC-7, Michael Reed wrote: >> >> On Monday, June 13, 2016 at 5:46:40 PM UTC-7, Sean Beckett wrote: >>> >>> >>> I'll bet dollars to donuts that your field values are strings, not >>> floats. The COUNT() will still return, but all the other functions fail on >>> string values. Check your write statements to make sure the numbers are >>> being written WITHOUT double-quotes. >>> >>> >>> >>> >> >> PS. You get the donuts! They were strings and not floats. Still would >> like to know whether influxdb offers something like explain or describe. >> Thanks >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit > https://groups.google.com/d/msgid/influxdb/7c5e17ed-ac88-4505-b01e-ae1667aa020f%40googlegroups.com > <https://groups.google.com/d/msgid/influxdb/7c5e17ed-ac88-4505-b01e-ae1667aa020f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Sean Beckett Director of Support and Professional Services InfluxDB -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CALGqCvOjxKDMQyCuzY%2BypyLiHChey7d59g_YoEmYe7R-wz_T%2Bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
