Repository navigation
feat(ios): export and import data on iPhone and iPad - #4302
Merged
Merged
Conversation
…export # Conflicts: # apple/Packages/TableProCore/Tests/TableProMSSQLCoreTests/MSSQLSchemaQueriesTests.swift # apple/Plugins/DuckDBDriverPlugin/DuckDBPlugin.swift # apple/Plugins/OracleDriverPlugin/OraclePlugin.swift # apple/Plugins/PostgreSQLDriverPlugin/PostgreSQLPluginDriver.swift
…ep SQL dump state per run
…after a SQL file, and keep NUL in SQLite dumps
…atabase, and read each transaction end in a SQL file
…n's settings, and export results from the buffer once the session changed
…esh connection cannot see
…use to one sheet, and export shown rows during a transaction Reverts the session read for selected rows (acba326): a dedicated connection reads every export, and a warning names a transaction it could not see.
…talog connection for database changes in a SQL file, and export views
…olumns in filtered exports, and report joined transactions and failed rows as they ended
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.sqlfile, gzip and PostgreSQLCOPY FROM STDINincluded..csv,.tsv,.json,.xlsxand.sqlfrom other apps into the import flow (Viewer, Alternate rank;org.iso.sqlimported as on macOS).BGContinuedProcessingTaskon iOS 26, background time before; a stop or expiry rolls back what the import owns.*OptionsView.swiftstays macOS, iOS has its own forms over the same settings).extension <Engine>PluginDriverinto shared plugin files both apps compile; the import write path moved toTablePro/Core/Transfer/Shared; the SQL file parser moved to the newTableProSQLFiletarget;SQLTokenCursortoTableProSQLGrammar;ByteOrderMarktoTableProTabularIO.GzipDeflaterinTableProGzip) instead of spawning/usr/bin/gzip.generateDropRelationSQL(name:kind:schema:); kit 45, minimum 19.xml:space="preserve").DROP ROUTINE, which no engine accepts, and dropped a PostgreSQL procedure as a function; each engine now writes its own routine drop (SQL Server CLR aggregatesDROP AGGREGATE, DuckDB table macrosDROP MACRO TABLE).t/f.information_schemajoin some proxies answer with no rows."".IF EXISTS; Oracle Drop Trigger in the sidebar and Compare writes the guarded form before 23ai; routine signatures showAGGREGATE(SQL Server CLR) andAS TABLE(DuckDB table macro).SQLExportBatchSeparatorTests.everyStatementIsItsOwnBatch(no routine drop batch),MySQLSessionScopeTests.creationScopeNeedsRecordedMode,MSSQLDropStatementsTests(signature),fileCutInsideItsLastCharacter,otherEnginesLeftAlone,ClipboardExporterFidelityTests.declaredTypePicksTheJSONType,SQLBuilderDefaultValuesTests.oracleHasNoForm(noworacleNamesAColumn),RowInsertPlannerTests.allDefaultsOnOracle,MySQLForeignKeyCatalogTests,MobileImportDataSinkTests(hex and boolean cases).Test plan
ExportStopAndStatusTests, Markdown widths, XLSX whitespace, drop clauses), shared import statements and row writer, engine catalogs with recorded runners, drop statements per engine, gzip round trips against/usr/bin/gzip, the moved parser suites, iOS drivers (SQLite and DuckDB end to end: binds, bytes, catalogs, WAL reader, snapshot), export runner, import sink in all four modes, SQL source, background run fallback, Select mode, scene intents.verify.sh ios), build and lint PASS.FileSystemEventWatcherTests.onlyALiveWatcherIsCalled,ThemeCatalogTests.picksUpChangesInItsFolder) that time out on this machine; this branch does not touch them.verify.sh abiPASS at kit 45; l10n PASS.Needs the maintainer
Screenshots
Before: these menus had no Export, Import, Select Rows or Run SQL File items.