এসকিউএল ভিউয়ার

Ilum’s SQL Viewer lets you run your SQL queries directly in the UI, কোনও স্কালা বা পাইথন কোড লেখার প্রয়োজন ছাড়াই . সরলতার জন্য ডিজাইন করা, এটি এসকিউএল ক্যোয়ারী চালানোর জন্য একটি স্বজ্ঞাত ইন্টারফেস সরবরাহ করে, ডেটা অন্বেষণ, এবং দ্রুত এবং দক্ষতার সাথে অন্তর্দৃষ্টি অর্জন।
Whether you are prototyping, analyzing data, or debugging, the SQL Viewer allows you to focus solely on the query logic without managing the underlying code.
এটি ইউআই বা হেলম স্থাপনার মানগুলির মাধ্যমে অত্যন্ত কনফিগারযোগ্য, নমনীয়তার অনুমতি দেয় উদাহরণস্বরূপ, একটি ভিন্ন টেবিল বিন্যাস নির্বাচন করা, যেমন ডেল্টা লেক, অ্যাপাচি হুডি, বা অ্যাপাচি আইসবার্গ।
এটা আপনাকে কিভাবে সাহায্য করবে?
The SQL Viewer is a powerful tool for reporting and debugging during Spark application development. Instead of building an entire Spark SQL program to query your tables, you can submit SQL statements directly within Ilum’s interface.
For debugging, SQL Viewer is invaluable—eliminating the need to repeatedly write, compile, and submit code like:
valডেটাসেট = স্ফুলিঙ্গ . এসকিউএল ( "select ...")
পরিবর্তে, আপনি প্রতিবার সেশনগুলি পুনরায় তৈরি না করে এসকিউএল বিবৃতিগুলি ইন্টারেক্টিভভাবে পরীক্ষা করতে পারেন।
ক্যোয়ারী ফলাফলের বাইরে, এসকিউএল ভিউয়ার ডেটা এক্সপ্লোরেশন এবং ভিজ্যুয়ালাইজেশন সরঞ্জামগুলি সরবরাহ করে লগ এবং এক্সিকিউশন পরিসংখ্যান সহ, আপনাকে ক্যোয়ারী প্রক্রিয়াতে গভীর অন্তর্দৃষ্টি দেয়।
The SQL Viewer is also integrated with different data catalogs, which means that you can seamlessly query data from previously created tables.
এসকিউএল ভিউয়ার দিয়ে শুরু করুন
To use the SQL Viewer, you need to deploy Ilum with the SQL Viewer feature enabled. For setup instructions, refer to the উৎপাদন পৃষ্ঠা .
Once set up, the SQL viewer should be available on the sidebar. Inside, Apache Spark and DuckDB should be available as options by default.
Ilum loads in example queries and notebooks to help new users get started quickly.
Example query and notebook loading সক্ষম করা হয়েছে by default.
However, you can disable it by setting ilum-core.examples.sqlQuery=false (disables loading queries) and
ilum-core.examples.sqlNotebook=false (disables loading notebooks) in the Helm chart values.

The SQL Viewer consists of three parts:
-
SQL query editor – The center part of the SQL Viewer, which allows you to write and execute SQL queries. It comes with a simple text editor in the query mode and a notebook-like interface in the notebook mode.
-
The sidebar – Contains your different SQL queries and notebooks in the "Queries" tab and a mini version of the টেবিল এক্সপ্লোরার in the "Resources" tab.
-
The output - Will show up in the bottom part of the screen when you execute a query. It has a table with the results of the query, a data exploration tool, execution statistics, and logs.
The data exploration tool in the SQL Viewer.
বিকল্প ইঞ্জিন
The SQL Viewer supports multiple engines, as of now: Spark SQL, Trino, and DuckDB.
| স্পার্ক এসকিউএল | ট্রিনো | ডাকডিবি | |
|---|---|---|---|
| মোতায়েন | On cluster and dynamic | On cluster | Embedded |
| কেস ব্যবহার করুন | ETL, Big data processing | Interactive analytics | Interactive analytics, medium-data ETL, prototyping |
| Storage Support | Comprehensive (with additional JARs) | Sufficient | Lacking (but quickly expanding) |
| Concurrency | High (with tuning) | Very high | Limited |
| Performance | Good for large datasets (with tuning) | Good | Good |
| Overhead | Very high | Medium (always-on coordinator) | Very low (in-process) |
| Lineage support | Extensive | Existing (harder to configure) | With custom extension (supported in Ilum) |
| Extensibility | Easy (big extension ecosystem) | Moderate (smaller extension ecosystem) | Limited (smaller extension catalog, C++ based) |
While using the Spark SQL engine will ensure compatibility with most Ilum components, we recommend checking out the other options since they offer a much better ad-hoc query experience than Spark SQL.
When changing an engine, your tables might be accessible differently or not be available at all due to the differences in the underlying storage.
| Metastore | স্পার্ক এসকিউএল | ট্রিনো | ডাকডিবি |
|---|---|---|---|
| মৌচাক মেটাস্টোর | ✅ | ✅ | 🟨 (subset of functionalities supported with extension) |
| নেসি | ✅ | ✅ | 🟨 (possible, but unergonomic) |
| DuckLake | ❌ |