microsoft / microsoft/Power-Fx

PowerFx CLI truncating lengthy formulas

Open
#2,444 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.4k
Forks
358
Avg merge
10h 34m
Merged PRs (30d)
3

Description

hi - there appears to be a character limit for formulas in the power-fx cli (pac power-fx repl) and the formula is truncated - throwing an error.

If I run the same formula via pac power-fx run it works fine.

Do we need to provide an error message to the user when character allotment in power-fx repl exceeds the limit? thx!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a lengthy formula in pac power-fx repl, then compare the result with pac power-fx run using the same formula. Trace where REPL input is limited or truncated and determine how the user is informed when the limit is exceeded. Done means the behavior is understood and the limit is communicated clearly instead of producing an unexplained error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.