You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/05 02:47:29 UTC

[GitHub] [arrow-datafusion] liukun4515 opened a new issue, #2835: Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0

liukun4515 opened a new issue, #2835:
URL: https://github.com/apache/arrow-datafusion/issues/2835

   **Describe the bug**
   After upgrade to 17.0.0
   I can't execute below command to build or test sub-model
   ```
   cargo test  --manifest-path  arrow-datafusion/datafusion/common/Cargo.toml
      Compiling serde_json v1.0.78
   error: expected item, found `"serde_json requires that either `std` (default) or `alloc` feature is enabled"`
    --> /Users/kliu3/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/serde_json-1.0.78/src/features_check/error.rs:1:1
     |
   1 | "serde_json requires that either `std` (default) or `alloc` feature is enabled"
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected item
   ```
   
   I just want to test the sub-model.
   
   I think this is caused by the arrow-rs with some changes for Cargo dependency https://github.com/apache/arrow-rs/issues/1876
   
   @martin-g 
   
   @alamb 
   
   **To Reproduce**
   Steps to reproduce the behavior:
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] tustvold commented on issue #2835: Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0

Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2835:
URL: https://github.com/apache/arrow-datafusion/issues/2835#issuecomment-1174971111

   Perhaps try updating serde_json, I also ran into this issue and deleting the lockfile made things work again


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] liukun4515 closed issue #2835: Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0

Posted by GitBox <gi...@apache.org>.
liukun4515 closed issue #2835: Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0
URL: https://github.com/apache/arrow-datafusion/issues/2835


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] liukun4515 commented on issue #2835: Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on issue #2835:
URL: https://github.com/apache/arrow-datafusion/issues/2835#issuecomment-1176974791

   Do we need to fix that by give a pull request?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] liukun4515 commented on issue #2835: Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on issue #2835:
URL: https://github.com/apache/arrow-datafusion/issues/2835#issuecomment-1174618398

   I try to resolve it by adding the 
   
   ```
   default = ["crypto_expressions", "regex_expressions", "unicode_expressions", "serde_json_alloc"]
   serde_json_alloc = ["serde_json/std"]
   ```
   to the toml file.
   But I am not sure if it is right


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] liukun4515 commented on issue #2835: Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on issue #2835:
URL: https://github.com/apache/arrow-datafusion/issues/2835#issuecomment-1176980444

   Just update lock for the dependency


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org