[SPARK-49249][SPARK-49122] Makes SparkSession.addArtifact
work with REPL
#48120
+115
−30
Loading