-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export errors for time series processing (#1134)
* Export errors for time series processing * Add more * Update data/time_series_errors.go * Fix lint * Keep errors in same format * Update * Fix lint
- Loading branch information
1 parent
501b836
commit 2d900ed
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package data | ||
|
||
import "errors" | ||
|
||
var ( | ||
ErrorNullTimeValues = errors.New("unable to process the data to wide series because input has null time values, make sure all time values are not null") | ||
ErrorSeriesUnsorted = errors.New("unable to process the data because it is not sorted in ascending order by time, please updated your query to sort the data by time if possible") | ||
ErrorInputFieldsWithoutRows = errors.New("can not convert to long series, input fields have no rows") | ||
) |