Systems and methods for integration of multiple programming languages within a pipelined search query

US11567735B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-11567735-B1
Application numberUS-202017074280-A
CountryUS
Kind codeB1
Filing dateOct 19, 2020
Priority dateOct 19, 2020
Publication dateJan 31, 2023
Grant dateJan 31, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

According to one embodiment, a method that supports queries deploying operators based on multiple programming languages is described. A sequence of operators associated with a query is identified, where the sequence of operators includes at least two neighboring operators including a first operator based on a first programming language and a second operator based on a second programming language that is different from the first programming language. Thereafter, a schema associated with the first operator and a schema associated with the second operator is determined along with the compatibility between the schema of the first operator and the schema of the second operator. A query error message is generated in response to incompatibility between the first operator schema and the second operator schema. Compatibility is determined when an output generated by execution of the first operator provides machine data needed as input for execution of the second operator.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method, comprising: obtaining a query from a web-based application in response to execution of a code cell corresponding to a plurality of statements in multiple programming languages including a first programming language and a second programming language; identifying a sequence of operators associated with the query, the sequence of operators includes at least two neighboring operators including a first operator based on the first programming language and a second operator based on the second programming language that is different from the first programming language; determining a schema associated with the first operator and a schema associated with the second operator; determining compatibility between the schema of the first operator and the schema of the second operator; and generating a query error message in response to incompatibility between the schema of the first operator and the schema of the second operator, wherein the generating of the query error message comprises returning the query error message to the web-based application that provided the query. 2. The computer-implemented method of claim 1 , wherein the query is provided in accordance with a pipeline command language that includes the sequence of operators in which a set of data or results produced based on execution of the first operator is applied to the second operator. 3. The computer-implemented method of claim 1 , wherein prior to identifying the sequence of operators, further comprising: parsing the query to detect portions of the query, the portions of the query including the sequence of operators. 4. The computer-implemented method of claim 1 , wherein the schema of the first operator corresponds to an output schema of the first operator and the schema of the second operator corresponds to an input schema of the second operator. 5. The computer-implemented method of claim 4 , wherein the determining of the input schema associated with the second operator comprises accessing a data store including a machine learning model and metadata associated with the machine learning model, the metadata includes the input schema of the machine learning model. 6. The computer-implemented method of claim 5 , wherein the first operator is an executable command and the schema associated with the first operator corresponds to an output schema of the executable command. 7. The computer-implemented method of claim 1 further comprising: permitting processing of the query in response to schemas associated with each neighboring operator of the sequence of operators being compatible to each other, including an output schema of the first operator being compatible with an input schema of the second operator. 8. The computer-implemented method of claim 1 , wherein the determining of compatibility between the schema of the first operator and the schema of the second operator comprises determining whether a data structure of an output generated by execution of the first operator by a processor provides machine data needed as input for execution of the second operator by the processor. 9. The computer-implemented method of claim 1 , wherein the determining of the schema associated with the first operator comprises accessing one or more external libraries associated with the first programing language. 10. A system comprising: a processor; and a non-transitory computer-readable medium having stored thereon a query validation component that, when executed by the processor, performs operations including: obtaining a query from a web-based application in response to execution of a code cell corresponding to a plurality of statements in multiple programming languages including a first programming language and a second programming language; identifying a sequence of operators associated with the query, the sequence of operators includes at least two neighboring operators including a first operator based on the first programming language and a second operator based on the second programming language that is different from the first programming language, determining a schema associated with the first operator and a schema associated with the second operator, determining compatibility between the schema of the first operator and the schema of the second operator, and generating a query error message in response to incompatibility between the schema of the first operator and the schema of the second operator, wherein the generating of the query error message comprises returning the query error message to the web-based application that provided the query. 11. The system of claim 10 , wherein the query is provided in accordance with a pipeline command language that includes the sequence of operators in which a set of data or results produced based on execution of the first operator is applied to the second operator. 12. The system of claim 10 , wherein prior to the query validation component identifying the sequence of operators, the query validation component further performing an operation including parsing the query to detect portions of the query, the portions of the query including the sequence of operators. 13. The system of claim 10 , wherein the schema of the first operator corresponds to an output schema of the first operator and the schema of the second operator corresponds to an input schema of the second operator. 14. The system of claim 13 , wherein the query validation component determining of the input schema associated with the second operator by at least accessing a data store including a machine learning model and metadata associated with the machine learning model, the metadata includes the input schema of the machine learning model. 15. The system of claim 10 , wherein the query validation component being configured to further perform operations comprising: permitting processing of the query in response to schemas associated with each neighboring operator of the sequence of operators being compatible to each other, including an output schema of the first operator being compatible with an input schema of the second operator. 16. The system of claim 10 , wherein the query validation component determining of compatibility between the schema of the first operator and the schema of the second operator by at least determining whether a data structure of an output generated by execution of the first operator by a processor provides machine data needed as input for execution of the second operator by the processor. 17. The system of claim 10 , wherein the query validation component determining of the schema associated with the first operator by at least accessing one or more external libraries associated with the first programing language. 18. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause performance of operations comprising: obtaining a query from a web-based application in response to execution of a code cell corresponding to a plurality of statements in multiple programming languages including a first programming language and a second programming language; identifying a sequence of operators associated with the query, the sequence of operators includes at least two neighboring operators including a first operator based on the first programming language and a second operator based on the second programming language that is different from the first programming language; determining a schema associated with the first operator and a schema associated with the second op

Assignees

Inventors

Classifications

  • Parsing · CPC title

  • Schema design and management · CPC title

  • Machine learning · CPC title

  • Querying, e.g. by the use of web search engines · CPC title

  • G06F8/31Primary

    Programming languages or programming paradigms · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11567735B1 cover?
According to one embodiment, a method that supports queries deploying operators based on multiple programming languages is described. A sequence of operators associated with a query is identified, where the sequence of operators includes at least two neighboring operators including a first operator based on a first programming language and a second operator based on a second programming languag…
Who is the assignee on this patent?
Splunk Inc
What technology area does this patent fall under?
Primary CPC classification G06F8/31. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 31 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).