We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fecb62 commit 1877389Copy full SHA for 1877389
src/table.js
@@ -686,10 +686,11 @@ export function __table(source, operations) {
686
// applied, because operations like filter and sort reference original
687
// column names.
688
// TODO Allow derived columns to reference other derived columns.
689
- applyNames(source, operations).map((row, index, rows) => {
+ applyNames(source, operations).map((row, index) => {
690
let resolved;
691
try {
692
- resolved = value(row, index, rows);
+ // TODO Support referencing `index` and `rows` in the derive function.
693
+ resolved = value(row);
694
} catch (error) {
695
columnErrors.push({index, error});
696
resolved = undefined;
0 commit comments