Class S3SelectPushdown

java.lang.Object
io.trino.plugin.hive.s3select.S3SelectPushdown

public final class S3SelectPushdown extends Object
S3SelectPushdown uses Amazon S3 Select to push down queries to Amazon S3. This allows Presto to retrieve only a subset of data rather than retrieving the full S3 object thus improving Presto query performance.
  • Method Details

    • isCompressionCodecSupported

      public static boolean isCompressionCodecSupported(Properties schema, String path)
    • isSplittable

      public static boolean isSplittable(boolean s3SelectPushdownEnabled, Properties schema, String path)
    • shouldEnablePushdownForTable

      public static boolean shouldEnablePushdownForTable(ConnectorSession session, Table table, String path, Optional<Partition> optionalPartition)