-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing a String always prints a warning #269
Comments
Thank you for your complete issue report! I agree that the warning is annoying (it should be displayed only once with this commit JuliaIO/DiskArrays.jl@324867c ). But is the Maybe a change in DiskArrays would be more appropriate. For example, if the user sets the What you do think Fabian @meggart ? |
From the point of view of the user of a package that depends on NCDatasets, I think any warning like this for what is actually normal use is a problem ! (and leads to misdirection if something entirely unrelated goes wrong in that package). |
The warning is not generated by NCDatasets but by a dependency. |
Addressed in DiskArrays JuliaIO/DiskArrays.jl#209 |
Describe the bug
If a
String
variable is written usingNCDatasets
, a warning is printed.The warning makes sense as
String
is a variable-length data type, but as there does not seem to be anything to do about it, it is unhelpful.The warning comes from DiskArrays.jl, but posting here as I'm guessing that the solution may be some sort of special handling for
String
here. Maybe a specialised version ofsetindex_disk!()
, like?
To Reproduce
prints
Expected behavior
The string is written with no warning.
Environment
versioninfo()
using Pkg; Pkg.status(mode=PKGMODE_MANIFEST)
Full output
In case of an error, please paste the full error message and stack trace.
The text was updated successfully, but these errors were encountered: