Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: preserve whitespace in SQL Editor result table #27324

Merged
merged 4 commits into from
Jun 18, 2024

Conversation

monicakh
Copy link
Member

How to test

-- Create the sample table
CREATE TABLE whitespace_test (
    id serial PRIMARY KEY,
    text_value TEXT
);

-- Insert data with different whitespace
INSERT INTO whitespace_test (text_value) VALUES
('a b'),
('a  b'),
('a   b'),
('a b');

-- Run the GROUP BY query
SELECT text_value, COUNT(*)
FROM whitespace_test
GROUP BY text_value
ORDER BY text_value;
image

@monicakh monicakh requested a review from a team as a code owner June 17, 2024 15:42
Copy link

supabase bot commented Jun 17, 2024

No changes detected in supabase directory.
This pull request has been ignored for the connected project xguihxuzqibwxjnimxev due to its connection settings.
Go to Project Integrations Settings ↗︎ in order to change this behavior.


Branching Preview Branches by Supabase.
Learn more about Supabase for Git ↗︎.

Copy link

vercel bot commented Jun 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
database-playground ❌ Failed (Inspect) Jun 18, 2024 1:48pm
studio-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 1:48pm
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
design-system ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 1:48pm
docs ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 1:48pm
studio ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 1:48pm
studio-self-hosted ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 1:48pm
zone-www-dot-com ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 1:48pm

@saltcod
Copy link
Contributor

saltcod commented Jun 18, 2024

checked studio

@saltcod saltcod merged commit c3af755 into master Jun 18, 2024
14 of 15 checks passed
@saltcod saltcod deleted the monicakh/preserve-whitespace branch June 18, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants