git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested List examples?


Now I have even more questions.

List<List<T>> uses one values buffer for the instances of T (according to
Layout.md).

List<Struct> couldn't possibly do that. Is that a valid type in Arrow?

Thanks,

Andy.





On Thu, May 3, 2018 at 6:17 AM, Antoine Pitrou <antoine@xxxxxxxxxx> wrote:

>
> Le 03/05/2018 à 14:03, Andy Grove a écrit :
> > I've been looking at the C++ and Java code bases, trying to find examples
> > of List<List<T>> and am having trouble finding them. Are these
> implemented?
>
> You can take a look for example at `TEST(TestListType, Basics)` in
> type-test.cc.
>
> Parametric types in Arrow C++ are not templates, they are dynamic types.
>  This allows for arbitrary nesting (not only lists of lists, but structs
> of lists, lists of structs, etc.).  You probably want to do something
> similar in Rust.
>
> Regards
>
> Antoine.
>


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-arrow-development/msg04358.html on line 103
Call Stack
#TimeMemoryFunctionLocation
10.0005363016{main}( ).../msg04358.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-arrow-development/msg04358.html on line 103
Call Stack
#TimeMemoryFunctionLocation
10.0005363016{main}( ).../msg04358.html:0