question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add constraint or option to check is_finite in cast_number

See original GitHub issue

I know NaN and INF are in spec, but we should add an optional constraint. Many systems don’t expect (or want to reject) non-finite numbers.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rollcommented, Apr 29, 2020

Let’s re-open or create a new issue when it’s done in the specs - https://github.com/frictionlessdata/specs/issues/644

No-op on the lib side, for now

1reaction
rollcommented, Oct 7, 2019

@micimize Wow. I didn’t know =) So, yea, then we need to process it through the specs

Read more comments on GitHub >

github_iconTop Results From Across the Web

isFinite() - JavaScript - MDN Web Docs - Mozilla
The global isFinite() function determines whether the passed value is a finite number. If needed, the parameter is first converted to a number....
Read more >
How do I add a custom CHECK constraint on a MySQL table?
I don't understand why nobody here has mentioned that VIEW WITH CHECK OPTION can be a good alternative to the CHECK CONSTRAINT in...
Read more >
How to use SQL Check Constraints - SQLShack
This article will show details about SQL check constraints and the relationship between constraints and query performance.
Read more >
libyang/xpath.c at master - GitHub
Warn functions check specific reasonable conditions for schema XPath ... @brief Remove a node from a set by setting its type to LYXP_NODE_NONE....
Read more >
ce11-2018073002-windows_intelx86.exe - Hybrid Analysis
Name Ordinal Address ??0ActivityControl@v8@@QAE@ABV01@@Z #27 0x46ac60 ??0ActivityControl@v8@@QAE@XZ #28 0x46ac50 ??0Allocator@ArrayBuffer@v8@@QAE@ABV012@@Z #29 0x468670
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found