Skip to content

chore: Remove some prints #756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spark/src/main/scala/ai/chronon/spark/Extensions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
package ai.chronon.spark

import ai.chronon.api
import ai.chronon.api.{Constants, PartitionRange, PartitionSpec, TimeRange, Window}
import ai.chronon.api.Extensions.{SourceOps, WindowOps}
import ai.chronon.api.ScalaJavaConversions._
import ai.chronon.api.{Constants, PartitionRange, PartitionSpec, TimeRange, Window}
import ai.chronon.online.serde.{AvroConversions, SparkConversions}
import ai.chronon.spark.catalog.TableUtils
import org.apache.avro.Schema
import org.apache.spark.sql.DataFrame
import org.apache.spark.sql.expressions.UserDefinedFunction
import org.apache.spark.sql.functions._
import org.apache.spark.sql.types.{LongType, StructType}
import org.apache.spark.util.sketch.BloomFilter
import org.slf4j.{Logger, LoggerFactory}
import ai.chronon.spark.catalog.{TableCache, TableUtils}

import java.util
import scala.collection.Seq
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ class TableUtils(@transient val sparkSession: SparkSession) extends Serializable
expandTable(tableName, dfRearranged.schema)
}

println(s"REARRANGED DF for ${tableName}::::::")
dfRearranged.show()

// Run tableProperties
Option(tableProperties).filter(_.nonEmpty).foreach { props =>
sql(CreationUtils.alterTablePropertiesSql(tableName, props))
Expand Down Expand Up @@ -267,8 +264,6 @@ class TableUtils(@transient val sparkSession: SparkSession) extends Serializable

logger.info(s"Writing to $tableName ...")

finalizedDf.show()

finalizedDf.write
.mode(saveMode)
// Requires table to exist before inserting.
Expand Down