[ https://issues.apache.org/jira/browse/SPARK-25723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
huanghuai reopened SPARK-25723: ------------------------------- reproduce > spark sql External DataSource question > -------------------------------------- > > Key: SPARK-25723 > URL: https://issues.apache.org/jira/browse/SPARK-25723 > Project: Spark > Issue Type: Question > Components: SQL > Affects Versions: 2.3.2 > Environment: local mode > Reporter: huanghuai > Priority: Major > Attachments: QQ图片20181015182502.jpg > > > trait PrunedFilteredScan { > def buildScan(requiredColumns: Array[String], filters: Array[Filter]): > RDD[Row] > } > > if i implement this trait, i find requiredColumns param is different > everytime,Why are the order different???? > you can use spark.read.jdbc and connect to your local mysql DB, and debug at > org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation#buildScan(scala:130) > to show this param; > attachement is my screenshot -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org