You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def map(data: HBaseData): T =
if(data.size==n)
tupleMap(data)
else if(data.size==n+1)
tupleMap(data.drop(1))
else
throw new IllegalArgumentException(s"Unexpected number of columns: expected $n or ${n-1}, returned ${data.size}")
i've got such an exception. what are the typical scenarios for this exception?
thanks a lot.
The text was updated successfully, but these errors were encountered:
It's for ensuring that you invoke the API in the correct way. If you select 2 columns, you need to specify 2 type parameters on the data shape, or 3 if you want the rowkey too. See the examples in the readme.
def map(data: HBaseData): T =$n or $ {n-1}, returned ${data.size}")
if(data.size==n)
tupleMap(data)
else if(data.size==n+1)
tupleMap(data.drop(1))
else
throw new IllegalArgumentException(s"Unexpected number of columns: expected
i've got such an exception. what are the typical scenarios for this exception?
thanks a lot.
The text was updated successfully, but these errors were encountered: