Skip to content

Commit

Permalink
[GLUTEN-6834][CORE] Remove unused DDL plan that doesn't correspond to…
Browse files Browse the repository at this point in the history
… Substrait spec (#6833)
  • Loading branch information
EpsilonPrime authored Aug 15, 2024
1 parent 5897d34 commit 9fb9899
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 262 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions gluten-core/src/main/resources/substrait/proto/substrait/ddl.proto

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
*/
package org.apache.gluten.substrait

import org.apache.gluten.substrait.ddlplan.InsertOutputNode

import java.lang.{Long => JLong}
import java.security.InvalidParameterException
import java.util.{ArrayList => JArrayList, HashMap => JHashMap, List => JList, Map => JMap}
Expand Down Expand Up @@ -64,16 +62,9 @@ class SubstraitContext extends Serializable {
private val aggregationParamsMap = new JHashMap[JLong, AggregationParams]()

private var iteratorIndex: JLong = 0L
private var insertOutputNode: InsertOutputNode = _
private var operatorId: JLong = 0L
private var relId: JLong = 0L

def getInsertOutputNode: InsertOutputNode = insertOutputNode

def setInsertOutputNode(insertOutputNode: InsertOutputNode): Unit = {
this.insertOutputNode = insertOutputNode
}

def registerFunction(funcName: String): JLong = {
if (!functionMap.containsKey(funcName)) {
val newFunctionId: JLong = functionMap.size.toLong
Expand Down

0 comments on commit 9fb9899

Please sign in to comment.