We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a column has only null values we cant calc the size for the buffer. So i think a fallback to String would be fine. Example:
String
function obj(_) { var fields = {}, o = []; for (var p in _) fields[p] = typeof _[p]; for (var n in fields) { var t = types[fields[n]]; o.push({ name: n, type: t || 'C', size: fieldSize[t] || fieldSize['C'] }); } return o; }
The text was updated successfully, but these errors were encountered:
Enhance automatic field generation
4f4a9ce
- include fields where all values are null - do not overwrite existing fields with undefined or null, fixes mapbox#14
Successfully merging a pull request may close this issue.
If a column has only null values we cant calc the size for the buffer.
So i think a fallback to
String
would be fine.Example:
The text was updated successfully, but these errors were encountered: