Function alias

2021-11-26 Thread howard
Does spark have the function alias? such as : alias pa = sc.parallelize() Thanks. - To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Re: JDBC sessionInitStatement for writes?

2021-11-26 Thread Sebastian Piu
For datasources it's just something that is run on the connection before you statement is executed, it doesn't seem to depend on the specific jdbc driver. See here https://github.com/apache/spark/blob/95fc4c56426706546601d339067ce6e3e7f4e03f/sql/core/src/main/scala/org/apache/spark/sql/execution/d