You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to develop a inference application, you need to write a feature extraction SQL to generate features. In general, the SQL is based on time windows which need to set as ts col when executed with performance sensitive mode. At the beginning, you may create table like this:
Note: When a new index is added, even if it can share the same PK col with another index, a new double-layer skiplist will be created.
Future improvement:
In order to reduce the memory used, we will share the PK col(first level skiplist) later.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem
If you want to develop a inference application, you need to write a feature extraction SQL to generate features. In general, the SQL is based on time windows which need to set as
ts
col when executed with performance sensitive mode. At the beginning, you may create table like this:You can compute feature in the time window by c1 and c4 columns:
Later, if you want to compute feature in another time window by c2 and c4, you need to create a new index with c2, c4.
But you cannot create new index with c2, c3 currently, because c3 have not been setted as
ts
column when creating the table.Solution
LogEntry
rather thanTSDimension
ts
col and index withts
col is required to pay special attentionts
col is NULLThe
LogEntry
structure is shown as below:Note: When a new index is added, even if it can share the same PK col with another index, a new double-layer skiplist will be created.
Future improvement:
In order to reduce the memory used, we will share the PK col(first level skiplist) later.
Issues
Changes and Additions to Public Interfaces
N.A
Performance Impact
Backwards Compatibility and Upgrade Path
N.A
Beta Was this translation helpful? Give feedback.
All reactions