Packages

case class GpuFileSourceScanExec(relation: HadoopFsRelation, originalOutput: Seq[Attribute], requiredSchema: StructType, partitionFilters: Seq[Expression], optionalBucketSet: Option[BitSet], optionalNumCoalescedBuckets: Option[Int], dataFilters: Seq[Expression], tableIdentifier: Option[TableIdentifier], disableBucketedScan: Boolean = false, queryUsesInputFile: Boolean = false, alluxioPathsMap: Option[Map[String, String]], requiredPartitionSchema: Option[StructType] = None)(rapidsConf: RapidsConf) extends SparkPlan with GpuDataSourceScanExec with GpuExec with Product with Serializable

GPU version of Spark's FileSourceScanExec

relation

The file-based relation to scan.

originalOutput

Output attributes of the scan, including data attributes and partition attributes.

requiredSchema

Required schema of the underlying relation, excluding partition columns.

partitionFilters

Predicates to use for partition pruning.

optionalBucketSet

Bucket ids for bucket pruning.

optionalNumCoalescedBuckets

Number of coalesced buckets.

dataFilters

Filters on non-partition columns.

tableIdentifier

identifier for the table in the metastore.

disableBucketedScan

Disable bucketed scan based on physical query plan.

queryUsesInputFile

This is a parameter to easily allow turning it off in GpuTransitionOverrides if InputFileName, InputFileBlockStart, or InputFileBlockLength are used

alluxioPathsMap

Map containing mapping of DFS scheme to Alluxio scheme

rapidsConf

Rapids conf

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuFileSourceScanExec
  2. GpuDataSourceScanExec
  3. GpuExec
  4. ShimLeafExecNode
  5. LeafExecNode
  6. SparkPlan
  7. Serializable
  8. Serializable
  9. Logging
  10. QueryPlan
  11. SQLConfHelper
  12. TreeNode
  13. Product
  14. Equals
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GpuFileSourceScanExec(relation: HadoopFsRelation, originalOutput: Seq[Attribute], requiredSchema: StructType, partitionFilters: Seq[Expression], optionalBucketSet: Option[BitSet], optionalNumCoalescedBuckets: Option[Int], dataFilters: Seq[Expression], tableIdentifier: Option[TableIdentifier], disableBucketedScan: Boolean = false, queryUsesInputFile: Boolean = false, alluxioPathsMap: Option[Map[String, String]], requiredPartitionSchema: Option[StructType] = None)(rapidsConf: RapidsConf)

    relation

    The file-based relation to scan.

    originalOutput

    Output attributes of the scan, including data attributes and partition attributes.

    requiredSchema

    Required schema of the underlying relation, excluding partition columns.

    partitionFilters

    Predicates to use for partition pruning.

    optionalBucketSet

    Bucket ids for bucket pruning.

    optionalNumCoalescedBuckets

    Number of coalesced buckets.

    dataFilters

    Filters on non-partition columns.

    tableIdentifier

    identifier for the table in the metastore.

    disableBucketedScan

    Disable bucketed scan based on physical query plan.

    queryUsesInputFile

    This is a parameter to easily allow turning it off in GpuTransitionOverrides if InputFileName, InputFileBlockStart, or InputFileBlockLength are used

    alluxioPathsMap

    Map containing mapping of DFS scheme to Alluxio scheme

    rapidsConf

    Rapids conf

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val additionalMetrics: Map[String, GpuMetric]
    Definition Classes
    GpuExec
  5. lazy val allAttributes: AttributeSeq
    Definition Classes
    QueryPlan
  6. lazy val allMetrics: Map[String, GpuMetric]
    Definition Classes
    GpuFileSourceScanExecGpuExec
  7. val alluxioPathsMap: Option[Map[String, String]]
  8. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  9. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  10. def asCode: String
    Definition Classes
    TreeNode
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. lazy val bucketedScan: Boolean
  13. final lazy val canonicalized: SparkPlan
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  14. final def children: Seq[SparkPlan]
    Definition Classes
    LeafExecNode → TreeNode
  15. def childrenCoalesceGoal: Seq[CoalesceGoal]

    A goal to coalesce batches as the input to this operation.

    A goal to coalesce batches as the input to this operation. In some cases an operation will only work if all of the data is in a single batch. In other cases it may be much faster if it is in a single batch, but can tolerate multiple batches. This provides a way to express those desires.

    Definition Classes
    GpuExec
  16. def cleanupResources(): Unit
    Attributes
    protected[sql]
    Definition Classes
    SparkPlan
  17. def clone(): SparkPlan
    Definition Classes
    TreeNode → AnyRef
  18. def coalesceAfter: Boolean

    If true is returned batches after this will be coalesced.

    If true is returned batches after this will be coalesced. This should really be used in cases where it is known that the size of a batch may shrink a lot.

    Definition Classes
    GpuExec
  19. def collect[B](pf: PartialFunction[SparkPlan, B]): Seq[B]
    Definition Classes
    TreeNode
  20. def collectFirst[B](pf: PartialFunction[SparkPlan, B]): Option[B]
    Definition Classes
    TreeNode
  21. def collectLeaves(): Seq[SparkPlan]
    Definition Classes
    TreeNode
  22. def collectWithSubqueries[B](f: PartialFunction[SparkPlan, B]): Seq[B]
    Definition Classes
    QueryPlan
  23. def conf: SQLConf
    Definition Classes
    SQLConfHelper
  24. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  25. def copyTagsFrom(other: SparkPlan): Unit
    Definition Classes
    TreeNode
  26. def createAverageMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  27. def createFileCacheMetrics(): Map[String, GpuMetric]
    Attributes
    protected
    Definition Classes
    GpuExec
  28. def createMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  29. def createNanoTimingMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  30. def createSizeMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  31. def createTimingMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  32. val dataFilters: Seq[Expression]
  33. val disableBucketedScan: Boolean
  34. def disableCoalesceUntilInput(): Boolean

    Returns true if there is something in the exec that cannot work when batches between multiple file partitions are combined into a single batch (coalesce).

    Returns true if there is something in the exec that cannot work when batches between multiple file partitions are combined into a single batch (coalesce).

    Definition Classes
    GpuExec
  35. def doCanonicalize(): GpuFileSourceScanExec

    Defines how the canonicalization should work for the current plan.

    Defines how the canonicalization should work for the current plan.

    Definition Classes
    GpuFileSourceScanExecGpuExec → QueryPlan
  36. def doExecute(): RDD[InternalRow]
    Attributes
    protected
    Definition Classes
    GpuFileSourceScanExec → SparkPlan
  37. def doExecuteBroadcast[T](): Broadcast[T]
    Attributes
    protected[sql]
    Definition Classes
    SparkPlan
  38. final def doExecuteColumnar(): RDD[ColumnarBatch]
    Definition Classes
    GpuExec → SparkPlan
  39. def doPrepare(): Unit
    Attributes
    protected
    Definition Classes
    SparkPlan
  40. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def execute(): RDD[InternalRow]
    Definition Classes
    SparkPlan
  42. final def executeBroadcast[T](): Broadcast[T]
    Definition Classes
    SparkPlan
  43. def executeCollect(): Array[InternalRow]
    Definition Classes
    SparkPlan
  44. def executeCollectPublic(): Array[Row]
    Definition Classes
    SparkPlan
  45. final def executeColumnar(): RDD[ColumnarBatch]
    Definition Classes
    SparkPlan
  46. final def executeQuery[T](query: ⇒ T): T
    Attributes
    protected
    Definition Classes
    SparkPlan
  47. def executeTail(n: Int): Array[InternalRow]
    Definition Classes
    SparkPlan
  48. def executeTake(n: Int): Array[InternalRow]
    Definition Classes
    SparkPlan
  49. def executeToIterator(): Iterator[InternalRow]
    Definition Classes
    SparkPlan
  50. final def expressions: Seq[Expression]
    Definition Classes
    QueryPlan
  51. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  52. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  53. def find(f: (SparkPlan) ⇒ Boolean): Option[SparkPlan]
    Definition Classes
    TreeNode
  54. def flatMap[A](f: (SparkPlan) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  55. def foreach(f: (SparkPlan) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  56. def foreachUp(f: (SparkPlan) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  57. def formattedNodeName: String
    Attributes
    protected
    Definition Classes
    QueryPlan
  58. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], append: (String) ⇒ Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean, indent: Int): Unit
    Definition Classes
    TreeNode
  59. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  60. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  61. def getTaskMetrics: Option[GpuTaskMetrics]
    Definition Classes
    GpuExec
  62. def gpuExpressions: Seq[Expression]

    Return the expressions for this plan node that should be GPU expressions.

    Return the expressions for this plan node that should be GPU expressions. For most nodes this will be the same as the list of expressions, but some nodes use CPU expressions directly in some cases and will need to override this.

    Definition Classes
    GpuFileSourceScanExecGpuExec
  63. def gpuLongMetric(name: String): GpuMetric
    Definition Classes
    GpuExec
  64. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  65. val id: Int
    Definition Classes
    SparkPlan
  66. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  67. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. def innerChildren: Seq[QueryPlan[_]]
    Definition Classes
    QueryPlan → TreeNode
  69. lazy val inputRDD: RDD[InternalRow]

    If the small file optimization is enabled then we read all the files before sending down to the GPU.

    If the small file optimization is enabled then we read all the files before sending down to the GPU. If it is disabled then we use the standard Spark logic of reading one file at a time.

  70. def inputRDDs(): Seq[RDD[InternalRow]]

    The data being read in.

    The data being read in. This is to provide input to the tests in a way compatible with InputRDDCodegen which all implementations used to extend.

    Definition Classes
    GpuFileSourceScanExecGpuDataSourceScanExec
  71. def inputSet: AttributeSet
    Definition Classes
    QueryPlan
  72. def internalDoExecuteColumnar(): RDD[ColumnarBatch]
    Attributes
    protected
    Definition Classes
    GpuFileSourceScanExecGpuExec
  73. def isCanonicalizedPlan: Boolean
    Attributes
    protected
    Definition Classes
    QueryPlan
  74. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  75. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  76. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  77. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  78. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  79. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  80. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  81. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  85. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  86. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  87. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  88. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  89. def logicalLink: Option[LogicalPlan]
    Definition Classes
    SparkPlan
  90. def longMetric(name: String): SQLMetric
    Definition Classes
    SparkPlan
  91. def makeCopy(newArgs: Array[AnyRef]): SparkPlan
    Definition Classes
    SparkPlan → TreeNode
  92. def map[A](f: (SparkPlan) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  93. def mapChildren(f: (SparkPlan) ⇒ SparkPlan): SparkPlan
    Definition Classes
    TreeNode
  94. def mapExpressions(f: (Expression) ⇒ Expression): GpuFileSourceScanExec.this.type
    Definition Classes
    QueryPlan
  95. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  96. val maxMetadataValueLength: Int
    Attributes
    protected
    Definition Classes
    GpuDataSourceScanExec
  97. lazy val metadata: Map[String, String]
  98. final lazy val metrics: Map[String, SQLMetric]
    Definition Classes
    GpuExec → SparkPlan
  99. final def missingInput: AttributeSet
    Definition Classes
    QueryPlan
  100. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  101. val nodeName: String
    Definition Classes
    GpuFileSourceScanExecGpuDataSourceScanExec → TreeNode
  102. val nodeNamePrefix: String
  103. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  104. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  105. def numberedTreeString: String
    Definition Classes
    TreeNode
  106. val optionalBucketSet: Option[BitSet]
  107. val optionalNumCoalescedBuckets: Option[Int]
  108. val origin: Origin
    Definition Classes
    TreeNode
  109. val originalOutput: Seq[Attribute]
  110. def otherCopyArgs: Seq[AnyRef]
    Definition Classes
    GpuFileSourceScanExec → TreeNode
  111. val output: Seq[Attribute]
    Definition Classes
    GpuFileSourceScanExec → QueryPlan
  112. val outputBatchesLevel: MetricsLevel
    Attributes
    protected
    Definition Classes
    GpuExec
  113. def outputBatching: CoalesceGoal

    Lets a SparkPlan indicate what guarantees, if any, its output batch has.

    Lets a SparkPlan indicate what guarantees, if any, its output batch has. This lets us bypass GpuCoalesceBatch calls where ever possible. Returning a null indicates no guarantee at all, which is the default.

    Definition Classes
    GpuExec
  114. lazy val outputOrdering: Seq[SortOrder]
    Definition Classes
    GpuFileSourceScanExec → SparkPlan
  115. lazy val outputPartitioning: Partitioning
    Definition Classes
    GpuFileSourceScanExec → SparkPlan
  116. val outputRowsLevel: MetricsLevel
    Attributes
    protected
    Definition Classes
    GpuExec
  117. lazy val outputSet: AttributeSet
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  118. def p(number: Int): SparkPlan
    Definition Classes
    TreeNode
  119. val partitionFilters: Seq[Expression]
  120. final def prepare(): Unit
    Definition Classes
    SparkPlan
  121. def prepareSubqueries(): Unit
    Attributes
    protected
    Definition Classes
    SparkPlan
  122. def prettyJson: String
    Definition Classes
    TreeNode
  123. def printSchema(): Unit
    Definition Classes
    QueryPlan
  124. def producedAttributes: AttributeSet
    Definition Classes
    LeafExecNode → QueryPlan
  125. val queryUsesInputFile: Boolean
  126. val rapidsConf: RapidsConf
  127. val readPartitionSchema: StructType
  128. lazy val readerFactory: PartitionReaderFactory

    visible for testing

  129. def redact(text: String): String

    Shorthand for calling redactString() without specifying redacting rules

    Shorthand for calling redactString() without specifying redacting rules

    Attributes
    protected
    Definition Classes
    GpuDataSourceScanExec
  130. lazy val references: AttributeSet
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  131. val relation: HadoopFsRelation
  132. def requiredChildDistribution: Seq[Distribution]
    Definition Classes
    SparkPlan
  133. def requiredChildOrdering: Seq[Seq[SortOrder]]
    Definition Classes
    SparkPlan
  134. val requiredPartitionSchema: Option[StructType]
  135. val requiredSchema: StructType
  136. def resetMetrics(): Unit
    Definition Classes
    SparkPlan
  137. final def sameResult(other: SparkPlan): Boolean
    Definition Classes
    QueryPlan
  138. lazy val schema: StructType
    Definition Classes
    QueryPlan
  139. def schemaString: String
    Definition Classes
    QueryPlan
  140. lazy val selectedPartitions: Array[PartitionDirectory]
    Annotations
    @transient()
  141. final def semanticHash(): Int
    Definition Classes
    QueryPlan
  142. def setLogicalLink(logicalPlan: LogicalPlan): Unit
    Definition Classes
    SparkPlan
  143. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  144. def setTaskMetrics(gpuTaskMetrics: GpuTaskMetrics): Unit
    Definition Classes
    GpuExec
  145. def simpleString(maxFields: Int): String
    Definition Classes
    GpuDataSourceScanExec → QueryPlan → TreeNode
  146. def simpleStringWithNodeId(): String
    Definition Classes
    QueryPlan → TreeNode
  147. def sparkContext: SparkContext
    Attributes
    protected
    Definition Classes
    SparkPlan
  148. def sparkSession: SparkSession
    Definition Classes
    GpuExec
  149. final val sqlContext: SQLContext
    Definition Classes
    SparkPlan
  150. def statePrefix: String
    Attributes
    protected
    Definition Classes
    QueryPlan
  151. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  152. def subqueries: Seq[SparkPlan]
    Definition Classes
    QueryPlan
  153. def subqueriesAll: Seq[SparkPlan]
    Definition Classes
    QueryPlan
  154. def supportsColumnar: Boolean
    Definition Classes
    GpuExec → SparkPlan
  155. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  156. val tableIdentifier: Option[TableIdentifier]
  157. def toJSON: String
    Definition Classes
    TreeNode
  158. def toString(): String
    Definition Classes
    TreeNode → AnyRef → Any
  159. def transform(rule: PartialFunction[SparkPlan, SparkPlan]): SparkPlan
    Definition Classes
    TreeNode
  160. def transformAllExpressions(rule: PartialFunction[Expression, Expression]): GpuFileSourceScanExec.this.type
    Definition Classes
    QueryPlan
  161. def transformDown(rule: PartialFunction[SparkPlan, SparkPlan]): SparkPlan
    Definition Classes
    TreeNode
  162. def transformExpressions(rule: PartialFunction[Expression, Expression]): GpuFileSourceScanExec.this.type
    Definition Classes
    QueryPlan
  163. def transformExpressionsDown(rule: PartialFunction[Expression, Expression]): GpuFileSourceScanExec.this.type
    Definition Classes
    QueryPlan
  164. def transformExpressionsUp(rule: PartialFunction[Expression, Expression]): GpuFileSourceScanExec.this.type
    Definition Classes
    QueryPlan
  165. def transformUp(rule: PartialFunction[SparkPlan, SparkPlan]): SparkPlan
    Definition Classes
    TreeNode
  166. def transformUpWithNewOutput(rule: PartialFunction[SparkPlan, (SparkPlan, Seq[(Attribute, Attribute)])], skipCond: (SparkPlan) ⇒ Boolean, canGetOutput: (SparkPlan) ⇒ Boolean): SparkPlan
    Definition Classes
    QueryPlan
  167. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  168. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  169. final def treeString: String
    Definition Classes
    TreeNode
  170. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  171. def vectorTypes: Option[Seq[String]]
    Definition Classes
    SparkPlan
  172. def verboseString(maxFields: Int): String
    Definition Classes
    QueryPlan → TreeNode
  173. def verboseStringWithOperatorId(): String
    Definition Classes
    GpuFileSourceScanExecGpuDataSourceScanExec → LeafExecNode → QueryPlan
  174. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  175. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  176. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  177. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  178. def waitForSubqueries(): Unit
    Attributes
    protected
    Definition Classes
    SparkPlan
  179. def withNewChildren(newChildren: Seq[SparkPlan]): SparkPlan
    Definition Classes
    TreeNode

Inherited from GpuDataSourceScanExec

Inherited from GpuExec

Inherited from ShimLeafExecNode

Inherited from LeafExecNode

Inherited from SparkPlan

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from QueryPlan[SparkPlan]

Inherited from SQLConfHelper

Inherited from TreeNode[SparkPlan]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped