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.

Error thrown when trying to delete entity with empty partition/row key

See original GitHub issue

Which service (blob, file, queue, table) does this issue concern?

Table

Which version of the Azurite was used?

3.14.3

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

npm

What’s the Node.js version?

16.13.1

What problem was encountered?

Azurite returns an error when attempting to delete an entity with empty strings for partition/row keys.

Steps to reproduce the issue?

  1. Using @azure/data-tables, add the following entity object to an emulator table:
    {
       partitionKey: "",
       rowKey: ""
    }
    
  2. Attempt to delete the entity.

Have you found a mitigation/solution?

No. The same procedure is accepted by Azure proper. Empty partition or row keys are valid keys.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bhugotcommented, Jan 15, 2022

Hello I think it’s come from a string empty rowkey bug that is corrected but not released yet as the change log is not correct.

0reactions
edwin-hubercommented, Apr 28, 2022

Fix released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot delete entity with empty string partition key or row key
If a table entity has an entity with an empty string partition key or row key, delete fails with this error: Unhandled exception....
Read more >
delete azure table storage row without checking for existence
Problem : Given a partition key and row key, delete the row without checking for existence first, and without failing if it does...
Read more >
cannot delete/update the Parent Key value. - Teradata Database
2726 Referential constraint violation: cannot delete/update the Parent Key value. Explanation: At least one of the Parent Key (i.e. ...
Read more >
7 Reading Execution Plans
This example shows the plan when Oracle Database accesses all subpartitions of all partitions of a composite object. The database uses two partition...
Read more >
sql package - github.com/nmondal/go-mysql-server/sql - Go Packages
NewKind("row was not found when attempting to delete").New() ) ... is thrown when a specific type is not supported ErrTypeNotSupported = errors.
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