Null Type can't be converted to Array
See original GitHub issueI have ibis version ‘v0.8.1’ and I ran the following,
In [1]: import ibis
In [2]: t = ibis.table(ibis.schema([('a','string')]))
In [3]: t.mutate(b=ibis.null()).columns
Out[3]: ['a', 'b']
In [4]: t.mutate(b=ibis.null())['b']
AttributeError: module 'ibis.expr.types' has no attribute 'NullArray'
I can’t select NullArray by column name. Is this expected?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Type 'null' cannot be used as an index type in Array.reduce ...
Type 'null' cannot be used as an index type for acc[item.mod] = The solution depends on what are you going to do with...
Read more >Chapter 4. Types, Values, and Variables - Oracle Help Center
An object reference obj can be converted to a boolean , following the C language convention that any reference other than null is...
Read more >Everything you wanted to know about $null - PowerShell
There are some types that do not have a valid conversion from $null . These types generate a Cannot convert null to type...
Read more >cast function | Databricks on AWS
The result is a NULL of the specified numeric type. ... SELECT cast(array() AS STRING); [] > SELECT cast(map('hello', 1, 'world', null) AS ......
Read more >Type Conversion Functions | ClickHouse Docs
NULL , if ClickHouse can't interpret the input string as a number or if the input number contains more than S decimal places....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@napjon Added tests in the PR. To do what you’re talking about using your
t1
andt2
, here’s how you would do it:Got it, thanks @cpcloud!