CatalogUtils Helper Object

CatalogUtils is a Scala object with the methods to support PreprocessTableCreation post-hoc logical resolution rule (among others).

Table 1. CatalogUtils API
Name Description

maskCredentials

maskCredentials(options: Map[String, String]): Map[String, String]

Used when:

normalizeBucketSpec

normalizeBucketSpec(
  tableName: String,
  tableCols: Seq[String],
  bucketSpec: BucketSpec,
  resolver: Resolver): BucketSpec

Used exclusively when PreprocessTableCreation post-hoc logical resolution rule is executed.

normalizePartCols

normalizePartCols(
  tableName: String,
  tableCols: Seq[String],
  partCols: Seq[String],
  resolver: Resolver): Seq[String]

Used exclusively when PreprocessTableCreation post-hoc logical resolution rule is executed.

normalizeColumnName Internal Method

normalizeColumnName(
  tableName: String,
  tableCols: Seq[String],
  colName: String,
  colType: String,
  resolver: Resolver): String

normalizeColumnName…​FIXME

Note
normalizeColumnName is used when CatalogUtils is requested to normalizePartCols and normalizeBucketSpec.

results matching ""

    No results matching ""