Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified BabelfishCompass_UserGuide.docx
Binary file not shown.
Binary file modified BabelfishCompass_UserGuide.pdf
Binary file not shown.
12 changes: 9 additions & 3 deletions BabelfishFeatures.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# this must always be the first section:
[Babelfish for T-SQL]
# only Babelfish version numbers listed here can be referenced the rules below:
valid_versions=1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 5.1.0
valid_versions=1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 5.1.0, 5.2.0
# x.y.1/2/3 etc are bugfix releases for x.y.0 (no new T-SQL features supported), and are typically based on a newer PG release
file_format=2 # version number for format of this .cfg file. This is not expected to change much
file_timestamp=Apr-2025 # identifies the version of this file, together with the latest Babelfish version supported
file_timestamp=Jun-2025 # identifies the version of this file, together with the latest Babelfish version supported
# format: dd-MON-yyyy or MON-yyyy

# Basic principle:
Expand Down Expand Up @@ -222,6 +222,8 @@ rule=function_call
supported-3.5.0-3.*=STX,STY,LAT,LONG,STASTEXT,STASBINARY,STDISTANCE,STPOINTFROMTEXT,STGEOMFROMTEXT,POINT
supported-4.1.0=STX,STY,LAT,LONG,STASTEXT,STASBINARY,STDISTANCE,STPOINTFROMTEXT,STGEOMFROMTEXT,POINT
supported-4.3.0=STCONTAINS,STEQUALS,STAREA
supported-4.6.0-4.*=STDIMENSION,STDISJOINT,STINTERSECTS,STISCLOSED,STISEMPTY,STISVALID
supported-5.2.0=STDIMENSION,STDISJOINT,STINTERSECTS,STISCLOSED,STISEMPTY,STISVALID
report_group=Geospatial
complexity_score=HIGH

Expand Down Expand Up @@ -611,6 +613,8 @@ supported-1.0.0=arg4=NO_SUPPORTED_ARGUMENTS_RIGHT_NOW

[ALTER VIEW]
rule=create_or_alter_view
supported-4.6.0-4.*=*
supported-5.2.0=*
report_group=Views
complexity_score=HIGH

Expand Down Expand Up @@ -1182,6 +1186,8 @@ report_group=DML

[SELECT..UNPIVOT]
rule=unpivot_clause
supported-4.6.0-4.*=*
supported-5.2.0=*
report_group=DML

[SELECT TOP WITH TIES]
Expand Down Expand Up @@ -1681,5 +1687,5 @@ report_group=Identifiers
complexity_score=LOW

#-----------------------------------------------------------------------------------
#file checksum=07cb0775
#file checksum=660d1fd5
#--- end ---------------------------------------------------------------------------
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2025-06
- Added support for Babelfish v.5.2.0 and v.4.6.0.
- Detect ALTER VIEW and UNPIVOT operations.
- Detect geospatial functions: STDimension, STDisjoint, STIntersects, STIsClosed, STIsEmpty, STIsValid

# 2025-04
- Added support for Babelfish v.5.1.0 and v.4.5.0.
- Detect various server-level and database-level fixed roles.
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/compass/CompassUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public class CompassUtilities {
public static boolean onLinux = false;
public static String onPlatform = uninitialized;

public static final String thisProgVersion = "2025-04";
public static final String thisProgVersionDate = "April 2025";
public static final String thisProgVersion = "2025-06";
public static final String thisProgVersionDate = "June 2025";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How sure are we that this is not going to be in May 2025 or July 2025?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release is scheduled for June 1st week. Will update timestamp incase of delays.

public static final String thisProgName = "Babelfish Compass";
public static final String thisProgNameLong = "Compatibility assessment tool for Babelfish for PostgreSQL";
public static final String thisProgNameExec = "Compass";
Expand Down Expand Up @@ -112,8 +112,8 @@ public class CompassUtilities {
public String targetBabelfishVersionReportLine = "Target Babelfish version : v."; // line in report listing the target version
public boolean stdReport = false; // development only

public static List<String> BabelfishVersionList = Arrays.asList("1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "2.1.0", "2.2.0", "2.3.0", "2.4.0", "3.1.0", "3.2.0", "3.3.0", "3.4.0", "3.5.0", "4.0.0", "4.1.0", "4.2.0", "4.3.0", "4.4.0", "4.5.0", "5.1.0");
public static List<String> BabelfishPGVersionList = Arrays.asList("13.4", "13.5", "13.6", "13.7", "13.8", "13.9", "14.3/4", "14.5", "14.6", "14.7", "15.2", "15.3", "15.4", "15.5", "15.6", "16.1", "16.2", "16.3", "16.4", "16.6", "16.8", "17.4");
public static List<String> BabelfishVersionList = Arrays.asList("1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "2.1.0", "2.2.0", "2.3.0", "2.4.0", "3.1.0", "3.2.0", "3.3.0", "3.4.0", "3.5.0", "4.0.0", "4.1.0", "4.2.0", "4.3.0", "4.4.0", "4.5.0", "4.6.0", "5.1.0", "5.2.0");
public static List<String> BabelfishPGVersionList = Arrays.asList("13.4", "13.5", "13.6", "13.7", "13.8", "13.9", "14.3/4", "14.5", "14.6", "14.7", "15.2", "15.3", "15.4", "15.5", "15.6", "16.1", "16.2", "16.3", "16.4", "16.6", "16.8", "16.9", "17.4", "17.5");

// minimum Babelfish version; this is fixed
public static final String baseBabelfishVersion = "1.0.0";
Expand Down
Loading