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
Describe the bug
Having issues registering dataframes if they have segarrays. Results in "UnknownSymbolError Line 244 in MultiTypeSymbolTable.checkTable: Error: attrib unkonwn symbol". Am currently using v.03.01 so I can't provide results from current release.
To Reproduce
sega=ak.segarray(ak.arange(0,100,10),ak.arange(100))
df2=ak.DataFrame({'a':ak.arange(10),'s':sega})
df2=df2.register('df2')
ak.clear()
df2# or optionally (df2 = ak.DataFrame.attach('df2'))
Also, if you issue the following commands before those listed above the error appears earlier:
This PR (fixesBears-R-Us#2380):
- Updates segarray to register it's underlying components. This seems to be necessary anytime these components are exposed to the user (which is why it isn't an issue for segstrings)
- Updates some registration tests to call `ak.clear` to verify that attaching is not relying on any components that just happen to still be present. With the `clear`s, `test_segarray_register_attach` failed before this PR
- Updated `regName` to actually updated `.name` component of the symentry to the new user_defined_name (it kinda blows my mind that this hasn't come up before)
I think going forward we should move this in line with Categorical (perhaps using Registerable and Required pieces), but wanted to keep it straightforward/minimal changes since this is a bug fix
Describe the bug
Having issues registering dataframes if they have segarrays. Results in "UnknownSymbolError Line 244 in MultiTypeSymbolTable.checkTable: Error: attrib unkonwn symbol". Am currently using v.03.01 so I can't provide results from current release.
To Reproduce
Also, if you issue the following commands before those listed above the error appears earlier:
Expected behavior
DataFrames including segarrays should be able to be registered and then should not be affected by ak.clear()
Error Message
"UnknownSymbolError Line 244 in MultiTypeSymbolTable.checkTable: Error: attrib unkonwn symbol"
Is this a Blocking Issue
Not currently a blocking issue. Just requires more resources to ensure sufficient memory without clearing.
ak.get_config()
OutputProviding the output of
ak.get_config()
provides crucial debugging information.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: