This is an automated email from the ASF dual-hosted git repository.

viirya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c45ce4f1220 [MINOR] Remove unused 
`InMemoryRelation.convertToColumnarIfPossible` method
9c45ce4f1220 is described below

commit 9c45ce4f1220650414eaf737c02780bcd6f93913
Author: Liang-Chi Hsieh <[email protected]>
AuthorDate: Wed Feb 11 00:14:39 2026 -0800

    [MINOR] Remove unused `InMemoryRelation.convertToColumnarIfPossible` method
    
    ### What changes were proposed in this pull request?
    
    This patch removes unused method in InMemoryRelation.
    
    ### Why are the changes needed?
    
    Removing unused method.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    Unit tests
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #54255 from viirya/minor_remove_unused_method.
    
    Authored-by: Liang-Chi Hsieh <[email protected]>
    Signed-off-by: Liang-Chi Hsieh <[email protected]>
---
 .../org/apache/spark/sql/execution/columnar/InMemoryRelation.scala    | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
 
b/sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
index 56faf2032065..83d3bcaf401f 100644
--- 
a/sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
+++ 
b/sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
@@ -367,10 +367,6 @@ object InMemoryRelation {
   /* Visible for testing */
   private[columnar] def clearSerializer(): Unit = synchronized { ser = None }
 
-  def convertToColumnarIfPossible(plan: SparkPlan): SparkPlan = {
-    getSerializer(plan.conf).convertToColumnarPlanIfPossible(plan)
-  }
-
   def apply(
       storageLevel: StorageLevel,
       qe: QueryExecution,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to