You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "amoeba (via GitHub)" <gi...@apache.org> on 2025/07/24 03:12:26 UTC
[PR] feat(postgresql): add test for composite type behavior [arrow-adbc]
amoeba opened a new pull request, #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196
(no comment)
--
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
Re: [PR] feat(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3114989409
I added what I think was a mid-test reconnect in https://github.com/apache/arrow-adbc/pull/3196/commits/3e2eb6e6ad58fe2b00a017813edb8cf99af9b5b1. The new test still fails,
```
adbc ❯ driver/postgresql/adbc-driver-postgresql-test --gtest_filter="*Composite*" (adbc)
adbc-driver-postgresql-test(30459,0x204bd5f00) malloc: nano zone abandoned due to inability to reserve vm space.
Running main() from /Users/runner/miniforge3/conda-bld/gtest-split_1748319995326/work/googletest/src/gtest_main.cc
Note: Google Test filter = *Composite*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from PostgresStatementTest
[ RUN ] PostgresStatementTest.PostgresCompositeTest
/Users/bryce/src/apache/arrow-adbc/c/driver/postgresql/postgresql_test.cc:1893: Failure
Expected equality of these values:
reader.schema->children[0]->format
Which is: "z"
"i"
[ FAILED ] PostgresStatementTest.PostgresCompositeTest (103 ms)
[----------] 1 test from PostgresStatementTest (103 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (103 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PostgresStatementTest.PostgresCompositeTest
1 FAILED TEST
```
--
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
Re: [PR] feat(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3134405628
Sorry this is on my backlog to poke
--
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
Re: [PR] test(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3177289163
Rebased.
--
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
Re: [PR] test(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3176523699
Very interesting, thanks for figuring it out.
I pushed a fixed test which uses a test helper you may or may not like. I thought about making a new fixture but just adding a `ResetTest` method on `StatementTest` was near at hand. Happy to rework this.
--
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
Re: [PR] feat(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3111807590
Still working on this, currently this fails with,
```
/Users/bryce/src/apache/arrow-adbc/c/driver/postgresql/postgresql_test.cc:1143: Failure
Expected equality of these values:
reader.schema->children[0]->format
Which is: "z"
"i"
```
--
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
Re: [PR] test(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3474849045
Hey @lidavidm, I won't be able to get this in for the release. I'll try for the next one.
--
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
Re: [PR] test(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3172388990
```
In [7]: cur.execute("SELECT * FROM asdf")
In [8]: cur.fetchallarrow()
Out[8]:
pyarrow.Table
a: struct<x: int32, y: string>
child 0, x: int32
child 1, y: string
----
a: [
-- is_valid: all not null
-- child 0 type: int32
[1]
-- child 1 type: string
["foo"]]
```
--
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
Re: [PR] feat(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3111847567
Hmm, maybe it isn't actually supported then...Or maybe you have to reconnect after creating the type to reload the type mapping
--
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
Re: [PR] feat(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3136794734
No problem at all. Thanks.
--
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
Re: [PR] feat(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3133777290
Hi @lidavidm could you take a look at my test to see if that looks like I'm testing it correctly? If so, I'm not sure how hard adding support would be but I could at least update https://github.com/apache/arrow-adbc/pull/3195 to document the current status.
--
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
Re: [PR] test(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3177308236
Hmm, ASAN is unhappy about something.
--
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
Re: [PR] test(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3179739005
I'll take a look later this week.
--
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
Re: [PR] test(c/driver/postgresql): add test for composite type behavior [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #3196:
URL: https://github.com/apache/arrow-adbc/pull/3196#issuecomment-3449780192
@amoeba do you think you want to do this for the next release?
--
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