-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KYUUBI #6577] Add spark sql engine plugin module and define a sql stringify plugin #6578
base: master
Are you sure you want to change the base?
Changes from 1 commit
c3ce8dd
a4f9dd3
24f1f79
5129317
8d65c7e
870a9b4
4aca8ea
f8fdafe
567e185
5f5494e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,18 +14,13 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.kyuubi.engine.spark.plugin; | ||
|
||
import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan; | ||
import org.apache.spark.sql.execution.SparkPlan; | ||
import org.apache.spark.sql.SparkSession; | ||
|
||
public interface SparkPlans { | ||
public interface PlanOnlyExecutor { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we add a developer guide? |
||
|
||
LogicalPlan parsedPlan(); | ||
LogicalPlan analyzedPlan(); | ||
LogicalPlan optimizedPlan(); | ||
SparkPlan sparkPlan(); | ||
SparkPlan executedPlan(); | ||
String mode(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we move the mode to execute? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We will use SPI to load plugins, so we need to define a qualified name for the plugin to distinguish them. |
||
|
||
String execute(SparkSession spark, String statement); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe toString |
||
} |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about SQLStringifyPlugin? Since output does not have to be a plan