Query rewrites for data-intensive applications in presence of run-time errors
First Claim
Patent Images
1. A method comprising:
- performing at least one query operation;
generating error information data based on at least an error encountered during performance of the query operation;
generating a data result relating to any portion of the query operation that has successfully completed;
continuing, as a function of at least one of a number of errors encountered and a class of error encountered, the query operation on data results relating to corresponding portions of the query operation that successfully completed; and
processing the data results together with the error information data based on encountering the errors, the data results and the error information distinguishable by an indicator disposed therebetween;
wherein an occurrence of the errors are encountered by an operator that is used to generate the data results, the occurrence of the errors causes the return of an error container instead of other regular data portion included in the data results;
wherein the operator extracts partial results from the error container by consuming its input and passing through any non-error values as output.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to a method and computer program product for error handling. The method includes performing at least one query operation. The processing of query operation also includes generating error information data based at least an error encountered during performance of the query operation and generating a data result relating to any portion of the query operation successfully completed. The data result is processed together with the error information data based on encountering any errors. The data result and error information are provided together in a package but separated by an indicator to distinguish between them.
-
Citations
14 Claims
-
1. A method comprising:
-
performing at least one query operation; generating error information data based on at least an error encountered during performance of the query operation; generating a data result relating to any portion of the query operation that has successfully completed; continuing, as a function of at least one of a number of errors encountered and a class of error encountered, the query operation on data results relating to corresponding portions of the query operation that successfully completed; and processing the data results together with the error information data based on encountering the errors, the data results and the error information distinguishable by an indicator disposed therebetween; wherein an occurrence of the errors are encountered by an operator that is used to generate the data results, the occurrence of the errors causes the return of an error container instead of other regular data portion included in the data results; wherein the operator extracts partial results from the error container by consuming its input and passing through any non-error values as output. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code being executable by a processor to:
-
perform at least one query operation; generate error information data based at least an error encountered during performance of the query operation; generate a data result relating to any portion of the query operation that has successfully completed; continue, as a function of at least one of a number of errors encountered and a class of error encountered, the query operation on data results relating to corresponding portions of the query operation that successfully completed; and process the data results together with the error information data based on encountering the errors, the data results and the error information data distinguishable by an indicator disposed therebetween; wherein an occurrence of the errors are encountered by an operator that is used to generate the data results, the occurrence of the errors causes the return of an error container instead of other regular data portion included in the data results; wherein the operator extracts partial results from the error container by consuming its input and passing through any non-error values as output. - View Dependent Claims (13, 14)
-
Specification