I developed a script that retrieves data from a Cassandra data table, and I noticed that when you assign a trend template to a parameter only selecting Real-Time the data, the data is stored in the 'vd' column. but if you selected average trending, the data is stored in the 'v' column. Just wanted to know if this is correct and if it is correct why is it like that since the 'v' column is the value and the 'vd' column is a discreet value.
This is correct and intentional. A remnant from back in the days where systems were backed by a MySQL database the value of real time trend points were stored ad VARCHAR (as both discreet and numerical values end up in the same realtime trend table). For compatibility reasons we kept the same in Cassandra and thus store the real time trending in the vd-column.