Skip to content

Commit

Permalink
Fix sqlx compilation errors (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
WuBruno authored Oct 9, 2023
1 parent 46343c6 commit e18a6fc
Show file tree
Hide file tree
Showing 16 changed files with 132 additions and 28 deletions.
6 changes: 5 additions & 1 deletion products/pdt/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
target/
.vscode/
.vscode/
# Target for downloaded files
downloads/
# Stores download metadata
meta.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion products/pdt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cargo run -- --download-dir=<your_download_dir> --unpack-dir=<your_unpacking_dir
For Postgres, make sure your database is created and run

```bash
cargo run -- --download-dir=<your_download_dir> --unpack-dir=<your_unpacking_dir> --postgres_url=<your_postgres_url> psqlmulti --nr-threads=<n> --batch-blocks=<n> --partition_size=10000
cargo run -- --download-dir=<your_download_dir> --unpack-dir=<your_unpacking_dir> --postgres-url=<your_postgres_url> psqlmulti --nr-threads=<n> --batch-blocks=<n> --partition-size=10000
```

All our import operations are multithreaded. Each thread will create a duplicate
Expand Down
2 changes: 1 addition & 1 deletion products/pdt/pdtlib/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn make_unsigned<O, Retry>(
) -> Result<aws_smithy_http::operation::Operation<O, Retry>, std::convert::Infallible> {
{
let mut props = operation.properties_mut();
let mut signing_config = props
let signing_config = props
.get_mut::<aws_sig_auth::signer::OperationSigningConfig>()
.expect("has signing_config");
signing_config.signing_requirements = aws_sig_auth::signer::SigningRequirements::Disabled;
Expand Down

0 comments on commit e18a6fc

Please sign in to comment.