ericm-db commented on PR #53872:
URL: https://github.com/apache/spark/pull/53872#issuecomment-3775665565

   @LuciferYang Could you help with this issue I'm running into? I'm 
consistently getting the following after running the dev script to generate 
protos:
   ```
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/base_pb2.pyi:
 Cannot parse: 43:31: from pyspark.sql.connect.proto.import commands_pb2 as 
_commands_pb2
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/catalog_pb2.pyi:
 Cannot parse: 41:31: from pyspark.sql.connect.proto.import common_pb2 as 
_common_pb2
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/commands_pb2.pyi:
 Cannot parse: 43:31: from pyspark.sql.connect.proto.import common_pb2 as 
_common_pb2
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/example_plugins_pb2.pyi:
 Cannot parse: 39:31: from pyspark.sql.connect.proto.import expressions_pb2 as 
_expressions_pb2
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/catalog_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/common_pb2.py
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/expressions_pb2.pyi:
 Cannot parse: 43:31: from pyspark.sql.connect.proto.import common_pb2 as 
_common_pb2
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/ml_common_pb2.pyi:
 Cannot parse: 42:31: from pyspark.sql.connect.proto.import expressions_pb2 as 
_expressions_pb2
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/ml_pb2.pyi:
 Cannot parse: 41:31: from pyspark.sql.connect.proto.import expressions_pb2 as 
_expressions_pb2
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/example_plugins_pb2.py
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/pipelines_pb2.pyi:
 Cannot parse: 44:31: from pyspark.sql.connect.proto.import common_pb2 as 
_common_pb2
   error: cannot format 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/relations_pb2.pyi:
 Cannot parse: 43:31: from pyspark.sql.connect.proto.import catalog_pb2 as 
_catalog_pb2
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/ml_common_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/ml_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/commands_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/pipelines_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/types_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/expressions_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/base_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/base_pb2_grpc.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/relations_pb2.py
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/common_pb2.pyi
   reformatted 
/Users/eric.marnadi/spark/sql/connect/common/src/main/gen/proto/python/spark/connect/types_pb2.pyi
   
   Oh no! 💥 💔 💥
   14 files reformatted, 9 files failed to reformat.
   ```
   ./dev/reformat-python.sh doesn't help


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to