James601232 commented on issue #3924:
URL: https://github.com/apache/hudi/issues/3924#issuecomment-962758854


   > So, you mean to say, mvn package command succeeds in command line, just 
that your IDE does not resolve the dependencies?
   
   I meaning command line and ide errors are same. error occur in 
DataSourceReadOptions file. errors info as following:
   [ERROR] 
/Users/yangcailiang/Codes/hudi/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DataSourceOptions.scala:20:
 error: object hudi is not a member of package org.apache.hudi.org.apache
   [ERROR] import org.apache.hudi.DataSourceReadOptions.{QUERY_TYPE, 
QUERY_TYPE_READ_OPTIMIZED_OPT_VAL, QUERY_TYPE_SNAPSHOT_OPT_VAL}
   [ERROR]                   ^
   [ERROR] 
/Users/yangcailiang/Codes/hudi/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DataSourceOptions.scala:21:
 error: object hudi is not a member of package org.apache.hudi.org.apache
   [ERROR] import org.apache.hudi.common.config.ConfigProperty
   [ERROR]                   ^
   [ERROR] 
/Users/yangcailiang/Codes/hudi/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DataSourceOptions.scala:22:
 error: object hudi is not a member of package org.apache.hudi.org.apache
   [ERROR] import org.apache.hudi.common.fs.ConsistencyGuardConfig
   [ERROR]                   ^
   [ERROR] 
/Users/yangcailiang/Codes/hudi/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DataSourceOptions.scala:23:
 error: object hudi is not a member of package org.apache.hudi.org.apache
   [ERROR] import org.apache.hudi.common.model.{HoodieTableType, 
WriteOperationType}
   [ERROR]                   ^
   [ERROR] 
/Users/yangcailiang/Codes/hudi/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DataSourceOptions.scala:24:
 error: object hudi is not a member of package org.apache.hudi.org.apache
   [ERROR] import org.apache.hudi.common.table.HoodieTableConfig
   
   in IDE also same errors. import package failed:
   
![image](https://user-images.githubusercontent.com/19258506/140675095-7638dec0-8b78-43b3-a48c-69b38a2d4e18.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to