Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Aug 18, 2023
1 parent b784ed5 commit 802338a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ object ShredModelEntry {
if (s == NullCharacter) "\\\\N"
else s.replace('\t', ' ').replace('\n', ' ')

val extraCols = List(
private val extraCols = List(
(""""schema_vendor"""", "VARCHAR(128)", "ENCODE ZSTD", "NOT NULL"),
(""""schema_name"""", "VARCHAR(128)", "ENCODE ZSTD", "NOT NULL"),
(""""schema_format"""", "VARCHAR(128)", "ENCODE ZSTD", "NOT NULL"),
Expand All @@ -100,6 +100,9 @@ object ShredModelEntry {
(""""ref_parent"""", "VARCHAR(255)", "ENCODE ZSTD", "NOT NULL")
)

/** List of column names common across all shredded tables */
val commonColumnNames: List[String] = extraCols.map(_._1.replaceAll(""""""", ""))

sealed trait ColumnType

implicit val showProps: Show[List[ShredModelEntry]] = Show.show(props => {
Expand Down

0 comments on commit 802338a

Please sign in to comment.