A pool with this name already exists
During import, the following error message is issued
Of course in some cases
@SoftTools59654: I don't doubt that you could be seeing a bug of some kind, but I can't seem to reproduce it based on the information you've shared here thus far. The video below was taken with Zui v1.5.0 on Windows and shows all the behaviors I can reproduce regarding possible clashing pool names and how Zui handles them.
In summary, assuming a CSV input file named csv.1 such as shown in your screenshot:
- Initial drag of the file into Zui results in the creation of a pool
csv.1that matches the filename, as expected. - Dragging the same file into Zui again while maintaining the default behavior of pool name "Derive from filename..." results in the created pool being named
csv.1_1to avoid clashing with the existing poolcsv.1. - Dragging the same file into Zui again while specifically specifying the pool name
csv.1results in the expected error message "A pool with this name already exists", giving the user the opportunity to pick a non-conflicting name.
https://github.com/brimdata/zui/assets/5934157/d7a84464-1fef-4fd6-95e5-216c8934ad94
If what you're seeing matches the above behavior, can you describe which of those is unexpected or undesirable for you? Or if you're seeing a different behavior than shown/described above, can you provide detailed steps to reproduce the problem? Thanks.