seatunnel icon indicating copy to clipboard operation
seatunnel copied to clipboard

[Feature]support latest version of Spark 3.2.0

Open RickyHuo opened this issue 3 years ago • 12 comments

RickyHuo avatar Dec 27 '21 09:12 RickyHuo

https://spark.apache.org/docs/latest/sql-migration-guide.html#upgrading-from-spark-sql-24-to-30

RickyHuo avatar Dec 29 '21 05:12 RickyHuo

Hi @RickyHuo, I would like to volunteer for this

ashmeet-kandhari avatar Jan 03 '22 10:01 ashmeet-kandhari

Hi @RickyHuo, Please have a look at the PR when possible and let me know if anything else is required.

Thanks

ashmeet-kandhari avatar Jan 04 '22 15:01 ashmeet-kandhari

@ashmeet-kandhari Thanks for your contribution.

I want to know the version compatibility with Spark lower version or Scala because I know Spark 3.X built with Scala 2.12.

If we can use spark 2.4 local with seatunnel built on Spark 3.2 or not?

RickyHuo avatar Jan 05 '22 00:01 RickyHuo

@RickyHuo From what I see, there are API changes due to which this is not possible without adding some logic to look at the api (Issue comes with JDBCUtils.scala file)

ashmeet-kandhari avatar Jan 05 '22 14:01 ashmeet-kandhari

How is it going ,in my opinion it's better to be compatible with both spark2 and spark3,spark version can be passed in maven as a parameter,and I can take some help if needed.

simon824 avatar Feb 12 '22 03:02 simon824

@RickyHuo From what I see, there are API changes due to which this is not possible without adding some logic to look at the api (Issue comes with JDBCUtils.scala file)

Some connectors or class may need have different implement for spark2 and spark3.

zhaomin1423 avatar Feb 27 '22 00:02 zhaomin1423

How is it going ,in my opinion it's better to be compatible with both spark2 and spark3,spark version can be passed in maven as a parameter,and I can take some help if needed.

This method can‘t come true, because spark api have change between 2.x and 3.x. We can‘t maintain two version api in one project

Hisoka-X avatar Mar 24 '22 10:03 Hisoka-X

How is it going? @ashmeet-kandhari If you don't have enough time, I will do this recently.

Hisoka-X avatar Mar 24 '22 10:03 Hisoka-X

Hi @BenJFan,

I missed the updates recently. Yes, please can you look into it, as am currently pre-occupied.

Thanks for offering :)

ashmeet-kandhari avatar Mar 25 '22 06:03 ashmeet-kandhari

@CalvinKirs Please assgin me

Hisoka-X avatar Mar 25 '22 06:03 Hisoka-X

support spark3.2.0, spark3.1.2 and spark2.4.7, please see https://github.com/nishuihanqiu/incubator-seatunnel with branch 2.1.3-spark3, that is 2.1.3-spark3

nishuihanqiu avatar Nov 13 '22 13:11 nishuihanqiu