-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can I get the timeseries_id after cs_create #27
Comments
the "argument data type" of the \df table_get can get the timeseries_id name and type,but user must parse the argument data type,it is not friendly.If there is some system table/view like information_schema which user can query the cs information,it will be better. |
Sorry, there is no function in IMCS which returns name of timeseries identifier and timestamp fields. Unfortunately I do not understand you second comment. What do you mean by "argument data type"? TABLE_get should be given value of timeseries identifier (i.e. "ABB" in case of Quote table and "Symbol" used as timeseries ID). Why "user must parse the argument data type"? |
Sometimes it is obvious,but most time you shoud know the content of the table or understand the business of the data and then it become obvious.for complex system with many people involved,it is difficult for maintenance. for the second comment ,see this:
-----------------+--------------+---------------------------+-----------------------------------------------------------------------------------------------------+-------- if I want to get "clientversion integer",I must parse the |
What actually do you want to know: just names of timeseries ID and timestamp columns? |
Ye,that's enough,if user want more info,he can use the system table get more. |
I have added TABLE_timestamp() and TABLE_id() functions (revision 56) |
in the doc:
function cs_create(table_name text, timestamp_id text, timeseries_id text default null, autoupdate bool default false) returns void
there is a param timestamp_id,but after the cs created,where can I find which column I pass as timeseries_id.User need this column when use table_get().
The text was updated successfully, but these errors were encountered: