Open vasil-pashov opened 10 months ago
On arcticdb==4.5.0
and probably before this produces an error, which is an improvement.
---------------------------------------------------------------------------
NormalizationException Traceback (most recent call last)
[<ipython-input-11-8b826992605c>](https://localhost:8080/#) in <cell line: 7>()
5 lib = ac.get_library("arrays", create_if_missing=True)
6 data = pd.DataFrame({"array_col": [np.array([1,2,3]), np.array([6]).astype("float32")], "other_col": [1,2]})
----> 7 lib.write("test", data)
8 print(lib.read("test").data)
1 frames
[/usr/local/lib/python3.10/dist-packages/arcticdb/version_store/library.py](https://localhost:8080/#) in write(self, symbol, data, metadata, prune_previous_versions, staged, validate_index)
460 )
461
--> 462 return self._nvs.write(
463 symbol=symbol,
464 data=data,
[/usr/local/lib/python3.10/dist-packages/arcticdb/version_store/_store.py](https://localhost:8080/#) in write(self, symbol, data, metadata, prune_previous_version, pickle_on_failure, validate_index, **kwargs)
592 return None
593 else:
--> 594 vit = self.version_store.write_versioned_dataframe(
595 symbol, item, norm_meta, udm, prune_previous_version, sparsify_floats, validate_index
596 )
NormalizationException: E_UNIMPLEMENTED_INPUT_TYPE Array types are not supported at the moment
Describe the bug
Creating a symbol with column of array type containing arrays with different dtype succeeds and then prints out garbage.
Steps/Code to Reproduce
Expected Results
OS, Python Version and ArcticDB Version
Dev build: da5f02b0f2edc842413bf46aeb0a30bd9f319dda
Backend storage used
No response
Additional Context
No response