If I have a device that has 100 physical quantities, and I want the data to be stored in Apache IoTDB only when it changes. From the physical quantities, only 5 of them may change frequently, and the other 95 rarely change. I want to know if I can only store the 100 fields of this device in an aligned time series? I wrote a customized udf function, computeFault(f1,f2,f3,f4,f5) that needs to insert these 5 fields. I found that if they are not aligned, as long as one of the fields is empty, this function cannot be triggered. Then I tried using aligned time series and it can be triggered. Therefore I want to know, can I only use aligned time series in this case?
How to store the physical quanties in udf to trigger the function when one field has value and multiple fields has no value in Apache IoTDB?
14 Views Asked by Sihan Liu At
1
There are 1 best solutions below
Related Questions in TIME-SERIES
- Measures of similarity for time series data
- Is there an algorithm to identify the increasing Period/Interval of a time series?
- What kind of ARIMA model would be best fit for this data?
- How to load very big timeseries file(s) in Python to do analysis?
- How to write the query statement of the total number of time series by paging in Apache IoTDB?
- error to generate regular raster stack time series in R
- Getting NotImplementedError: While Importing ARMA
- Plotting Non-Uniform Time Series Data from a Text File
- How in SQL can I identify if a value has changed within the current week or vis-a-vis the previous week?
- LSTM : predict_step in PyTorch Lightning
- Slow SELECT statement, possibly due to WHERE?
- R: Error in tseries::garch() Function for Auto GARCH Model Detection
- LSTM multistep forecast
- Sum column depending on values from another column on a single row (Pivot columns)
- gap fill for raster stack in R
Related Questions in USER-DEFINED-FUNCTIONS
- Include particle removal in the DPM concentration UDF
- How to add a 1 to a phone number and remove the dashes?
- Running Total UDF ( user defined function ) with a window function is throwing 'Failed to coerce output value ''
- Euclidean Distance between two vectors in two columns in spark data frme
- How to register a UDF in AWS Athena?
- User defined function only returns first value in column
- Facing Exception while using a UDF on Pyspark Dataframe: Could not serialize object
- How to update pyspark dataframe inside a Python function
- Returning data from a UDF to Snowflake in a Snowflake Native App
- Excel UDF with Dynamic array crash Excel on formula editing
- How to get user's data file after decompiling an APK?
- Using Flink SQL with Table Aggregate Function (UDTAGG)
- Writing a MySQL wrapper around CRC32
- UDF (DVD-R) incremental writing of changed file sectors
- UserDefinedFunction takes 10 times longer than plain sql query
Related Questions in APACHE-IOTDB
- How to prevent the previous deleted data to be restored by the database set in Apache IoTDB?
- After deleting the aligned time series in certain device, why did Apache IoTDB still reported "timeseries under this device are aligned" error?
- How to write the query statement of the total number of time series by paging in Apache IoTDB?
- How to delete the cluster datanode in unknown state in Apache IoTDB?
- How to manually trigger flush execution to clean the data under wal directory?
- How to migrate the data to different cluster in cluster version of Apache IoTDB?
- After copying data and system directories of datanode, why did the data still cannot be queried in the new server of Apache IoTDB?
- How to set the different ttl for different batches of time series data inserted into Apache IoTDB?
- What may be the reason of insertTablet failed reported in container and datanode logs of Apache IoTDB?
- Why Apache IoTDB created multiple dataRegions for the same database settings in short period of time?
- When querying in Apache IoTDB Version 0.13.3, why results are duplicated for crertain timestamp ranges?
- What configuration need to be changed for DataNode failed to startup and reported `internal TEndPoints can't be modified`?
- When changing ip settings from different network to migrate data in Apache IoTDB, why did the query statement reported error?
- Apache IoTDB deployed in k8s?
- How to delete not continuous data points in batches in Apache IoTDB?
Related Questions in IOTDB
- How to prevent the previous deleted data to be restored by the database set in Apache IoTDB?
- After deleting the aligned time series in certain device, why did Apache IoTDB still reported "timeseries under this device are aligned" error?
- How to write the query statement of the total number of time series by paging in Apache IoTDB?
- How to delete the cluster datanode in unknown state in Apache IoTDB?
- How to manually trigger flush execution to clean the data under wal directory?
- How to migrate the data to different cluster in cluster version of Apache IoTDB?
- After copying data and system directories of datanode, why did the data still cannot be queried in the new server of Apache IoTDB?
- How to set the different ttl for different batches of time series data inserted into Apache IoTDB?
- What may be the reason of insertTablet failed reported in container and datanode logs of Apache IoTDB?
- Why Apache IoTDB created multiple dataRegions for the same database settings in short period of time?
- When querying in Apache IoTDB Version 0.13.3, why results are duplicated for crertain timestamp ranges?
- What configuration need to be changed for DataNode failed to startup and reported `internal TEndPoints can't be modified`?
- When changing ip settings from different network to migrate data in Apache IoTDB, why did the query statement reported error?
- Apache IoTDB deployed in k8s?
- How to delete not continuous data points in batches in Apache IoTDB?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You should not need to set all time series to be aligned to activiate the UDF you wrote, since Apache IoTDB will not perform empty value filtering when performing UDF. If any value included in udf is not empty (which should be your case), the UDF will normally be called. You can check if you already completed all settings you said, for example if you already created the time series, f2 to f5. If you haven't created these time series yet, you may not be able to activate your UDF.