Surely would do that.Even I feel strongly that this should raise an error 
rather than adding a point leading to undefined behaviour sometimes.
On Friday, November 10, 2017 at 4:52:42 AM UTC+5:30, Frank Inselbuch wrote:
> The behavior you are seeing is by design.
> You can insert data with a field and a tag with the same name and that data 
> is distinct.
> I believe this should be prevented by IFX and result in an error.
> Why don't you raise this as an issue and then the rest of us can +1 it.
> 
> 
> 
> On Thursday, November 9, 2017 at 3:28:28 AM UTC-6, [email protected] 
> wrote:> insert debug,host=us3333,result=PASS 
> ctnrName="sakshi.ctnr.1",prj="xyz.12"
> > selec^C
> > show measurements
> name: measurements
> ------------------
> name
> build
> create
> debug
> > select * from "debug"
> name: debug
> -----------
> time                    ctnrName        host    prj     result
> 1510218785437764998     sakshi.ctnr.1   us3333  xyz.12  PASS
> > show tag keys from "debug"
> name: debug
> -----------
> tagKey
> host
> result
> > show field keys from "debug"
> name: debug
> -----------
> fieldKey        fieldType
> ctnrName        string
> prj             string
> > insert debug,host=us3333 result="PASS",ctnrName="sakshi.ctnr.1",prj="xyz.12"
> > select * from "debug"
> name: debug
> -----------
> time                    ctnrName        host    prj     result  result_1
> 1510218785437764998     sakshi.ctnr.1   us3333  xyz.12          PASS
> 1510218845910180112     sakshi.ctnr.1   us3333  xyz.12  PASS

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" 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/f7b7b668-5aec-4681-9c3f-bf3eabf4d131%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to