com.alibaba.hologres.spark3.source.HoloPartitionReader.scala Maven / Gradle / Ivy
package com.alibaba.hologres.spark3.source
import com.alibaba.hologres.client.model.TableSchema
import com.alibaba.hologres.spark.config.HologresConfigs
import com.alibaba.hologres.spark.source.BaseHoloPartitionReader
import org.apache.spark.sql.catalyst.InternalRow
import org.apache.spark.sql.connector.read.PartitionReader
import org.apache.spark.sql.types.StructType
class HoloPartitionReader(hologresConfigs: HologresConfigs, shardIdRange: (Int, Int), holoSchema: TableSchema, sparkSchema: StructType)
extends BaseHoloPartitionReader(hologresConfigs, shardIdRange, holoSchema, sparkSchema) with PartitionReader[InternalRow]