sujith71955 edited a comment on issue #24903: [SPARK-28084][SQL] Resolving the partition column name based on the resolver in sql load command URL: https://github.com/apache/spark/pull/24903#issuecomment-513241936 > @sujith71955 . > The same code path exists in both `loadPartition` and `loadDynamicPartitions`. Could you make a test case for both code branch? For `loadDynamicPartition`, you may need to use `INSERT INTO` statement. INSERT INTO command is working fine, below flow shall take care in this scenario 